From 988d955f5ff8f2b8ac9cadcc477a9aaa3e708f91 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 8 Nov 2009 07:37:18 +0100 Subject: Adding jit and bit opens to the Lua class. --- include/BLua.h | 2 ++ lib/BLua.cc | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/include/BLua.h b/include/BLua.h index 4d53191..2afcdef 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -79,6 +79,8 @@ class Lua : public Base { void open_math(); void open_debug(); void open_dir(); + void open_bit(); + void open_jit(); int wrap_open(openlualib_t); void declarefunc(const String &, lua_CFunction, int = LUA_GLOBALSINDEX); void call(const String &, int = LUA_GLOBALSINDEX, int = 0, int = 0); diff --git a/lib/BLua.cc b/lib/BLua.cc index 7dbf6c1..8771406 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -21,6 +21,7 @@ #include "BLua.h" #include "Buffer.h" #include +#include