aboutsummaryrefslogtreecommitdiff
path: root/src/lua.c
diff options
context:
space:
mode:
authorame <[email protected]>2025-06-12 13:57:51 -0500
committerame <[email protected]>2025-06-12 13:57:51 -0500
commitfe09d3576ada9918f55431298c5d9a099e690761 (patch)
tree32fc93c956154a0cdc6a760f3acca1263d4feb2a /src/lua.c
parent8e7257aac8b30aaa57577770fd636e784361e35d (diff)
rewrite mimetype parsing
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c
index ebddd03..a1dc7e9 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -10,6 +10,10 @@
static int ii = 0;
static int malloc_count = 0;
+int luaI_nothing(lua_State* L){
+ return 0;
+}
+
void* __malloc_(size_t N){
printf("hi");
malloc_count++;