Skip to content

Expose internal lua_State for custom Lua functions and allow executing from a string#165

Open
metalicjames wants to merge 3 commits intojeremyong:masterfrom
metalicjames:master
Open

Expose internal lua_State for custom Lua functions and allow executing from a string#165
metalicjames wants to merge 3 commits intojeremyong:masterfrom
metalicjames:master

Conversation

@metalicjames
Copy link

I particularly needed this because I needed to control execution in a sandbox using lua_sethook(). Equally, being able to load directly from an std::string can be very useful. Also, a general maintenance fix to remove a compiler warning about unused variables, Ubuntu ships with GCC 5.4 now anyways.

@adam4813
Copy link
Contributor

adam4813 commented Jan 3, 2017

@jeremyong Any chance of checking this one as exposed lua state would be very helpful to a lot of people i'm sure.

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