We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.string()
local ffi = jit and require('ffi') or require('cffi') local s = "hello world" print(ffi.string(s)) --> expected: "hello world", get: bad argument #1 to 'string' (cannot convert 'string' to 'char const *')
LuaJIT FFI allows passing a string argument through ffi.string().
The text was updated successfully, but these errors were encountered:
642dd04
No branches or pull requests
LuaJIT FFI allows passing a string argument through
ffi.string()
.The text was updated successfully, but these errors were encountered: