mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Consolidate API object code (#12728)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
committed by
GitHub
parent
b21fb18379
commit
7632af3c73
@@ -26,7 +26,6 @@ class Minimap;
|
||||
class LuaMinimap : public ModApiBase
|
||||
{
|
||||
private:
|
||||
static const char className[];
|
||||
static const luaL_Reg methods[];
|
||||
|
||||
// garbage collector
|
||||
@@ -55,8 +54,9 @@ public:
|
||||
|
||||
static void create(lua_State *L, Minimap *object);
|
||||
|
||||
static LuaMinimap *checkobject(lua_State *L, int narg);
|
||||
static Minimap *getobject(LuaMinimap *ref);
|
||||
|
||||
static void Register(lua_State *L);
|
||||
|
||||
static const char className[];
|
||||
};
|
||||
|
Reference in New Issue
Block a user