]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/lua.h
merge
[irc/quakenet/newserv.git] / lua / lua.h
index a2fe46961d235c9871f28d417f1df07c3861ec5e..ac33db310097c3252d6347b8b0581a3ccdd321e3 100644 (file)
--- a/lua/lua.h
+++ b/lua/lua.h
 #include <unistd.h>
 
 #include "../lib/sstring.h"
+#include "../core/nsmalloc.h"
 
 #include "lualocal.h"
 #include "luasocket.h"
 
+#define luamalloc(x) nsmalloc(POOL_LUA, x)
+#define luarealloc(x, y) nsrealloc(POOL_LUA, x, y)
+#define luafree(x) nsfree(POOL_LUA, x)
+
 /*** defines ************************************/
 
-#define LUA_BOTVERSION "1.85"
+#define LUA_BOTVERSION "1.87"
 #define LUA_CHANFIXBOT "D"
 #define LUA_OPERCHAN "#twilightzone"