1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include <BLua.h> #include <BigInt.h> namespace Balau { class LuaBigIntFactory : public LuaObjectFactory { public: LuaBigIntFactory(BigInt * b) : m_obj(b) { } static void pushStatics(Lua & L); protected: void pushObjectAndMembers(Lua & L); private: BigInt * m_obj; }; void registerLuaBigInt(Lua &); };