summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/BLua.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/BLua.h b/include/BLua.h
index beff222..a6ed935 100644
--- a/include/BLua.h
+++ b/include/BLua.h
@@ -263,6 +263,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; \