Skip to content

How can I correctly use Lua::init_from_ptr? #430

Answered by khvzak
shanebishop asked this question in Q&A
Discussion options

You must be logged in to vote

to use in modules mlua must be compiled with module feature flag.
Otherwise it try to close state and free memory when constructed Lua goes out of scope.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shanebishop
Comment options

Answer selected by shanebishop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants