mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Merge branch 'main' into minimal_postprocessing
This commit is contained in:
commit
8328db74fe
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ namespace scripting {
|
|||
|
||||
extern bool register_event(int env, const std::string& name, const std::string& id);
|
||||
|
||||
static int noargs(lua::LuaState *) { return 0; }
|
||||
static inline int noargs(lua::LuaState *) { return 0; }
|
||||
extern bool emit_event(const std::string& name, std::function<int(lua::LuaState* state)> args = noargs);
|
||||
|
||||
std::unique_ptr<Environment> create_environment(int parent=0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue