diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-21 16:11:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-21 21:48:46 +0100 |
commit | 71e58489aa8efbc883ba961b1f1cf15eebec3c87 (patch) | |
tree | 1c5491f6a17c69464330992946aeb9db48746f17 /src/lua/lua_tensor.h | |
parent | 85acd8afd9d4a38586c6c908dd30c8eb86758fce (diff) | |
download | rspamd-71e58489aa8efbc883ba961b1f1cf15eebec3c87.tar.gz rspamd-71e58489aa8efbc883ba961b1f1cf15eebec3c87.zip |
[Minor] Allow to use lua_tensor in kann apply
Diffstat (limited to 'src/lua/lua_tensor.h')
-rw-r--r-- | src/lua/lua_tensor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_tensor.h b/src/lua/lua_tensor.h index e4c110011..e022f64b9 100644 --- a/src/lua/lua_tensor.h +++ b/src/lua/lua_tensor.h @@ -28,5 +28,7 @@ struct rspamd_lua_tensor { }; struct rspamd_lua_tensor *lua_check_tensor (lua_State *L, int pos); +struct rspamd_lua_tensor *lua_newtensor (lua_State *L, int ndims, + const int *dim, bool zero_fill, bool own); #endif |