diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-12 06:59:03 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-12 06:59:03 +0200 |
commit | 68e2e03838a475252e519a7a16a9bcb2e3e4dd62 (patch) | |
tree | c3f059fc59c4221fda81f006a578b5b4fe7643bb /includes/LuaBigInt.h | |
parent | 0d528cd7be88272ac9ce33641ab80a7fd0600f0a (diff) |
Adding LuaBigInt and a few more things.
Diffstat (limited to 'includes/LuaBigInt.h')
-rw-r--r-- | includes/LuaBigInt.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/includes/LuaBigInt.h b/includes/LuaBigInt.h new file mode 100644 index 0000000..260c2e9 --- /dev/null +++ b/includes/LuaBigInt.h @@ -0,0 +1,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 &); + +}; |