Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFI: Enum cdata tostring should include enum name #135

Open
CapsAdmin opened this issue Feb 29, 2016 · 0 comments
Open

FFI: Enum cdata tostring should include enum name #135

CapsAdmin opened this issue Feb 29, 2016 · 0 comments

Comments

@CapsAdmin
Copy link

given the declaration enum test {foo = 6}; it would be useful if printing ffi.new("enum test", "foo") would print cdata<enum test>: foo = 6 rather than cdata<enum test>: 6

I find myself looking up enum numbers often when debugging because of this.

Brugarolas pushed a commit to Brugarolas/luajit-experimental that referenced this issue Jan 7, 2024
…uaJIT#135)

vm_s390x.dasc:1807:60: error: 'SBuf' {aka 'struct SBuf'} has no member named 'p'

Signed-off-by: Artiom Vaskov <artiom.vaskov@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants