Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qttorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2013-10-24 21:14:00 +0400
committerRonan Collobert <ronan@collobert.com>2013-10-24 21:14:00 +0400
commita8da1c126a28de953435e52a1847fba17c2935ca (patch)
tree9f6686b6febc352465e07ccb29404ff1aae1c7d4
parent8f478d95e754cc5aacac4d0a0897303c8b4be5b3 (diff)
fix missing LUA_EXTERNC definition
-rw-r--r--qttorch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qttorch.h b/qttorch.h
index dc10d6c..e1c70ce 100644
--- a/qttorch.h
+++ b/qttorch.h
@@ -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);