aboutsummaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-01-29 09:54:16 -0600
committerame <[email protected]>2024-01-29 09:54:16 -0600
commit79a85fd80a6e1af15e7d9b5ee96d3d77645993b3 (patch)
tree17bf2d289774788cfafc4504930737a3e9885101 /src/lua.h
parenta53d2ae92f02ea3efc01c5b76ce8471de3d4e879 (diff)
test
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/lua.h b/src/lua.h
index 625a0c1..f853408 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -1,21 +1,21 @@
-#include <lua.h>
-#include <lualib.h>
-#include <lauxlib.h>
-
-
-#if LUA_VERSION_NUM == 504
- #define lreg(N, FN)\
- lua_pushstring(L, N);\
- luaL_register(L, NULL, FN);\
- lua_settable(L, -3);
-
- #define lua_objlen(L,i) lua_rawlen(L,(i))
- #define luaL_register(L, M, F) luaL_newlib(L, F);
-#else
- #define lreg(N, FN)\
- lua_newtable(L);\
- luaL_register(L, NULL, FN);\
- lua_setfield(L, 2, N);
-#endif
-
-
+#include <lua.h>
+#include <lualib.h>
+#include <lauxlib.h>
+
+
+#if LUA_VERSION_NUM == 504
+ #define lreg(N, FN)\
+ lua_pushstring(L, N);\
+ luaL_register(L, NULL, FN);\
+ lua_settable(L, -3);
+
+ #define lua_objlen(L,i) lua_rawlen(L,(i))
+ #define luaL_register(L, M, F) luaL_newlib(L, F);
+#else
+ #define lreg(N, FN)\
+ lua_newtable(L);\
+ luaL_register(L, NULL, FN);\
+ lua_setfield(L, 2, N);
+#endif
+
+