diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-10 01:54:20 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-10 01:54:20 +0200 |
commit | 6f77bda199e30cb9d5902e740aa830e02c99bce1 (patch) | |
tree | 30d95669fc3a272f6c1441b6f771c7909cd988b0 /include | |
parent | 560b3134095eae257b96a28aace53c497ca1f84e (diff) | |
parent | 9ba4c0b6238751be042541575b16d7a65ea07097 (diff) |
Merge branch 'master' of /pub/repo.git/Baltisot
Diffstat (limited to 'include')
-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 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; \ |