mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Imported some of the dynamiccore branch from love-experiments:
- Type names for love's Lua objects are specified as an argument to luax_register_type, rather than being statically defined in an array. - luax_register_type takes a variable number of method array arguments, for registering superclass methods without copying them into the subclass' method array. Also removed most of the header declarations for wrapper functions.
This commit is contained in:
@@ -30,12 +30,6 @@ namespace love
|
||||
namespace timer
|
||||
{
|
||||
|
||||
int w_step(lua_State *L);
|
||||
int w_getDelta(lua_State *L);
|
||||
int w_getFPS(lua_State *L);
|
||||
int w_getAverageDelta(lua_State *L);
|
||||
int w_sleep(lua_State *L);
|
||||
int w_getTime(lua_State *L);
|
||||
extern "C" LOVE_EXPORT int luaopen_love_timer(lua_State *L);
|
||||
|
||||
} // timer
|
||||
|
||||
Reference in New Issue
Block a user