Add engine_event_get to Lua bindings
This commit is contained in:
parent
32fef09e83
commit
4109e89fc2
@ -44,6 +44,12 @@ int engine_luaf_time_sleep(lua_State *L) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int engine_luaf_event_get(lua_State *L) {
|
||||
struct ENGINE_EVENT * outvar = engine_event_get();
|
||||
lua_pushlightuserdata(L,outvar);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int engine_luaf_texture_create(lua_State *L) {
|
||||
int invar1 = luaL_checkinteger(L,1);
|
||||
int invar2 = luaL_checkinteger(L,2);
|
||||
|
Loading…
Reference in New Issue
Block a user