aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-24 15:15:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-24 20:33:33 +0100
commite3748d403bf05f87ddc12d38869321557b99ad45 (patch)
treecf3374e7e66ebcfb8787b130a0f6d795daee0752 /src/lua/lua_common.h
parent53984d130b23f2c692ca521fda8c66c98bc021d2 (diff)
downloadrspamd-e3748d403bf05f87ddc12d38869321557b99ad45.tar.gz
rspamd-e3748d403bf05f87ddc12d38869321557b99ad45.zip
[Minor] Allow rspamd_text to be passed
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 76680cbc5..cc4c9a9d4 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -594,6 +594,7 @@ gchar *rspamd_lua_get_module_name (lua_State *L);
* - u - lua_userdata, argument - (const char * + void *) - classname + pointer
* - b - lua_boolean, argument - gboolean (not bool due to varargs promotion)
* - f - lua_function, argument - int - position of the function on stack (not lua_registry)
+ * - t - lua_text, argument - int - position of the lua_text on stack (not lua_registry)
* @param L lua state
* @param cbref LUA_REGISTRY reference
* @param strloc where this function is called from