summaryrefslogtreecommitdiff
path: root/includes/LuaBigInt.h
blob: 260c2e9ae62c569b5202dc359f00a0c90c1e4bb2 (plain)
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 &);

};