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:
+3
-2
@@ -123,8 +123,9 @@ typedef std::bitset<TYPE_MAX_ENUM> TypeBits;
|
||||
**/
|
||||
extern const TypeBits *typeFlags;
|
||||
|
||||
bool getType(const char *in, Type &out);
|
||||
bool getType(Type in, const char *&out);
|
||||
void addTypeName(Type type, const char *name);
|
||||
bool getTypeName(const char *in, Type &out);
|
||||
bool getTypeName(Type in, const char *&out);
|
||||
|
||||
} // love
|
||||
|
||||
|
||||
Reference in New Issue
Block a user