mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +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:
@@ -33,15 +33,6 @@ namespace opengl
|
||||
|
||||
Text *luax_checktext(lua_State *L, int idx);
|
||||
void luax_checkcoloredstring(lua_State *L, int idx, std::vector<Font::ColoredString> &strings);
|
||||
int w_Text_set(lua_State *L);
|
||||
int w_Text_setf(lua_State *L);
|
||||
int w_Text_add(lua_State *L);
|
||||
int w_Text_addf(lua_State *L);
|
||||
int w_Text_clear(lua_State *L);
|
||||
int w_Text_setFont(lua_State *L);
|
||||
int w_Text_getFont(lua_State *L);
|
||||
int w_Text_getWidth(lua_State *L);
|
||||
int w_Text_getHeight(lua_State *L);
|
||||
extern "C" int luaopen_text(lua_State *L);
|
||||
|
||||
} // opengl
|
||||
|
||||
Reference in New Issue
Block a user