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
commit575e22afdc316bd0d3b2cedb10d00d8b50b3b5dd (patch)
tree17bf2d289774788cfafc4504930737a3e9885101 /src/lua.h
parentbafa906b6c51064e9ab429f81666feaf4c9e1740 (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
+
+