From fe09d3576ada9918f55431298c5d9a099e690761 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 12 Jun 2025 13:57:51 -0500 Subject: rewrite mimetype parsing --- src/lua.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lua.h') diff --git a/src/lua.h b/src/lua.h index a88f005..2e7aa5e 100644 --- a/src/lua.h +++ b/src/lua.h @@ -37,6 +37,8 @@ typedef int (*stream_read_function)(uint64_t, str**, void**); typedef int (*stream_free_function)(void**); void luaI_newstream(lua_State* L, stream_read_function, stream_free_function, void*); +int luaI_nothing(lua_State*); + //generic macro that takes other macros (see below) #define _tset_b(L, Tidx, K, V, F)\ lua_pushstring(L, K);\ -- cgit v1.2.3