diff options
Diffstat (limited to 'contrib/torch/torch7/Storage.c')
-rw-r--r-- | contrib/torch/torch7/Storage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/torch/torch7/Storage.c b/contrib/torch/torch7/Storage.c index 874838e8c..730d97476 100644 --- a/contrib/torch/torch7/Storage.c +++ b/contrib/torch/torch7/Storage.c @@ -1,5 +1,11 @@ #include "general.h" +struct _rspamd_lua_text { + const char *start; + unsigned int len; + unsigned int flags; +}; + #define torch_Storage_(NAME) TH_CONCAT_4(torch_,Real,Storage_,NAME) #define THFile_readRealRaw TH_CONCAT_3(THFile_read, Real, Raw) #define THFile_writeRealRaw TH_CONCAT_3(THFile_write, Real, Raw) |