aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_tensor.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-21 16:11:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-21 21:48:46 +0100
commit71e58489aa8efbc883ba961b1f1cf15eebec3c87 (patch)
tree1c5491f6a17c69464330992946aeb9db48746f17 /src/lua/lua_tensor.c
parent85acd8afd9d4a38586c6c908dd30c8eb86758fce (diff)
downloadrspamd-71e58489aa8efbc883ba961b1f1cf15eebec3c87.tar.gz
rspamd-71e58489aa8efbc883ba961b1f1cf15eebec3c87.zip
[Minor] Allow to use lua_tensor in kann apply
Diffstat (limited to 'src/lua/lua_tensor.c')
-rw-r--r--src/lua/lua_tensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_tensor.c b/src/lua/lua_tensor.c
index 6e5bec7d8..1506d4548 100644
--- a/src/lua/lua_tensor.c
+++ b/src/lua/lua_tensor.c
@@ -54,7 +54,7 @@ static luaL_reg rspamd_tensor_m[] = {
{NULL, NULL},
};
-static struct rspamd_lua_tensor *
+struct rspamd_lua_tensor *
lua_newtensor (lua_State *L, int ndims, const int *dim, bool zero_fill, bool own)
{
struct rspamd_lua_tensor *res;