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:
@@ -34,18 +34,10 @@ namespace box2d
|
||||
|
||||
void luax_pushjoint(lua_State *L, Joint *j);
|
||||
Joint *luax_checkjoint(lua_State *L, int idx);
|
||||
int w_Joint_getType(lua_State *L);
|
||||
int w_Joint_getBodies(lua_State *L);
|
||||
int w_Joint_getAnchors(lua_State *L);
|
||||
int w_Joint_getReactionForce(lua_State *L);
|
||||
int w_Joint_getReactionTorque(lua_State *L);
|
||||
int w_Joint_getCollideConnected(lua_State *L);
|
||||
int w_Joint_setUserData(lua_State *L);
|
||||
int w_Joint_getUserData(lua_State *L);
|
||||
int w_Joint_destroy(lua_State *L);
|
||||
int w_Joint_isDestroyed(lua_State *L);
|
||||
extern "C" int luaopen_joint(lua_State *L);
|
||||
|
||||
extern const luaL_Reg w_Joint_functions[];
|
||||
|
||||
} // box2d
|
||||
} // physics
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user