diff options
author | Ronan Collobert <ronan@collobert.com> | 2013-10-24 21:14:00 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2013-10-24 21:14:00 +0400 |
commit | a8da1c126a28de953435e52a1847fba17c2935ca (patch) | |
tree | 9f6686b6febc352465e07ccb29404ff1aae1c7d4 | |
parent | 8f478d95e754cc5aacac4d0a0897303c8b4be5b3 (diff) |
fix missing LUA_EXTERNC definition
-rw-r--r-- | qttorch.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ extern "C" { # define QTTORCH_API /**/ #endif +#define LUA_EXTERNC extern "C" + LUA_EXTERNC QTTORCH_API int luaopen_libqttorch(lua_State *L); |