mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +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,15 +30,6 @@ namespace love
|
||||
namespace keyboard
|
||||
{
|
||||
|
||||
int w_setKeyRepeat(lua_State *L);
|
||||
int w_hasKeyRepeat(lua_State *L);
|
||||
int w_isDown(lua_State *L);
|
||||
int w_isScancodeDown(lua_State *L);
|
||||
int w_getKeyFromScancode(lua_State *L);
|
||||
int w_getScancodeFromKey(lua_State *L);
|
||||
int w_setTextInput(lua_State *L);
|
||||
int w_hasTextInput(lua_State *L);
|
||||
int w_hasScreenKeyboard(lua_State *L);
|
||||
extern "C" LOVE_EXPORT int luaopen_love_keyboard(lua_State *L);
|
||||
|
||||
} // keyboard
|
||||
|
||||
Reference in New Issue
Block a user