diff options
Diffstat (limited to 'include/BLua.h')
-rw-r--r-- | include/BLua.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/BLua.h b/include/BLua.h index f714981..37b1a36 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -261,6 +261,11 @@ struct lua_functypes_t { classname##_functions[enumvar].name, \ sLua_##classname::function_##enumvar) +#define PUSH_SUBFUNCTION(classname, enumvar, array) L->declarefunc( \ + classname##_functions[enumvar].name, \ + sLua_##classname::function_##enumvar, \ + array) + #define CHECK_METHODS(classname) { \ int i = 0; \ |