diff options
| author | amelia squires <[email protected]> | 2025-02-24 13:23:19 -0600 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-02-24 13:23:19 -0600 |
| commit | 059503257523bf24b31f7f15a8a5761f2e5f2313 (patch) | |
| tree | 88af046d5ea16489cc045a222b4a520e557aa5b0 /src/lua.h | |
| parent | 89a7743c1c6dbfe57c70b15ec948ade582925d3e (diff) | |
error handling and parse_url on srequest
Diffstat (limited to 'src/lua.h')
| -rw-r--r-- | src/lua.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -60,6 +60,12 @@ void lua_set_global_table(lua_State*); lua_settable(L, Tidx);\
lua_pop(L, 1);}
+#define luaI_error(L, en, str){\
+ lua_pushnil(L);\
+ lua_pushstring(L, str);\
+ lua_pushinteger(L, en);\
+ return 3;}
+
int writer(lua_State*, const void*, size_t, void*);
|
