Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

luajit decode method use void * buffer get from ffi #51

Closed
ming871 opened this issue Apr 21, 2015 · 1 comment
Closed

luajit decode method use void * buffer get from ffi #51

ming871 opened this issue Apr 21, 2015 · 1 comment

Comments

@ming871
Copy link

ming871 commented Apr 21, 2015

the buffer type is : cdata<void *>, when call decode method from luajit, I get an error message : protobuf.lua:502: userdata 5 is nil.

@ming871
Copy link
Author

ming871 commented Apr 21, 2015

used "ff.string" convert cdata<void *> to Lua string resolved it, thank you for your pbc library

@ming871 ming871 closed this as completed Apr 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant