diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-27 22:42:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-27 22:42:39 +0100 |
commit | 68573e994099396d35181186f4e9d8e0cddbdd53 (patch) | |
tree | fe9fdededc81d8957fa3a1d8bc93f2f9e9f12019 /src/lua/lua_common.h | |
parent | 1d26ec302293d9eeeafb5e14f4d3a0d73c126f4f (diff) | |
download | rspamd-68573e994099396d35181186f4e9d8e0cddbdd53.tar.gz rspamd-68573e994099396d35181186f4e9d8e0cddbdd53.zip |
[Minor] Allow direct userdata extraction from a table
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 4c9e9dd4f..737c4b817 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -427,6 +427,7 @@ enum rspamd_lua_parse_arguments_flags { * - F - function * - O - ucl_object_t * * - D - same as N but argument is set to NAN not to 0.0 + * - u{classname} - userdata of the following class (stored directly) * * If any of keys is prefixed with `*` then it is treated as required argument * @param L lua state |