diff options
-rw-r--r-- | init.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -104,7 +104,9 @@ #include "generic/L1Cost.c" #include "THGenerateFloatTypes.h" -DLL_EXPORT int luaopen_libnn(lua_State *L) +LUA_EXTERNC DLL_EXPORT int luaopen_libnn(lua_State *L); + +int luaopen_libnn(lua_State *L) { lua_newtable(L); lua_pushvalue(L, -1); |