mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Prepare for explicit Lua Sandboxing (API update) 1/4
This commit is contained in:
parent
7e7337aa61
commit
7c10a54334
2 changed files with 9 additions and 3 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
class LIBLUA_API LuaState {
|
||||
public:
|
||||
LuaState();
|
||||
LuaState (bool sandbox = true, bool rt_safe = false);
|
||||
LuaState(lua_State *ls);
|
||||
~LuaState();
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ public:
|
|||
void collect_garbage () const;
|
||||
void collect_garbage_step (int debt = 0);
|
||||
void tweak_rt_gc ();
|
||||
void sandbox (bool rt_safe = false);
|
||||
void sandbox (bool rt_safe);
|
||||
|
||||
sigc::signal<void,std::string> Print;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue