aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-16 17:55:07 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-16 17:55:07 +0000
commit095e129405958c6d1313b479d6ecd9d6c7b4a76d (patch)
treeef764afbce16c0066a11c440908b8ca8b8ca25ce /src/lua/lua_common.h
parent0dca31d70718c5bbefc5013052f94115084fc548 (diff)
downloadrspamd-095e129405958c6d1313b479d6ecd9d6c7b4a76d.tar.gz
rspamd-095e129405958c6d1313b479d6ecd9d6c7b4a76d.zip
[Feature] Allow to extract functions from lua tables
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 5356c3821..39f578ea6 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -307,6 +307,7 @@ struct rspamd_config * lua_check_config (lua_State * L, gint pos);
* - B - boolean
* - V - size_t + const char *
* - U{classname} - userdata of the following class (stored in gpointer)
+ * - F - function
*
* If any of format string is prefixed with `*` then it is treated as required argument
* @param L lua state