diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-02 15:37:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-02 15:37:52 +0100 |
commit | e2c9ea10a36bd2f48d4570123062d8af6dffc513 (patch) | |
tree | 08f39ba82457cd0fcb0938547057944871175b1a /src/lua/lua_common.h | |
parent | 69c4a64a428965c4d08ac8706d9c28c5473a8f8c (diff) | |
download | rspamd-e2c9ea10a36bd2f48d4570123062d8af6dffc513.tar.gz rspamd-e2c9ea10a36bd2f48d4570123062d8af6dffc513.zip |
[Minor] Lua_util: Allow to use text in several rspamd_util methods
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 4c416fa0b..bf918274c 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -258,6 +258,7 @@ struct rspamd_lua_text *lua_check_text (lua_State *L, gint pos); /** * Checks for a text or a string. In case of string a pointer to static structure is returned. * So it should not be reused or placed to Lua stack anyhow! + * However, you can use this function up to 4 times and have distinct static structures * @param L * @param pos * @return |