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

pass Lua string directly instead of creating a new copy. #15

Merged
merged 2 commits into from
Dec 11, 2018

Conversation

spacewander
Copy link
Contributor

The Lua string is null terminated, and LuaJIT will handle the type cast
from Lua string to 'const char *' C string automatically.

spacewander and others added 2 commits December 11, 2018 16:03
The Lua string is null terminated, and LuaJIT will handle the type cast
from Lua string to 'const char *' C string automatically.
@anjia0532
Copy link
Owner

thanks

@anjia0532 anjia0532 merged commit d9dd5bd into anjia0532:master Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants