From a8da1c126a28de953435e52a1847fba17c2935ca Mon Sep 17 00:00:00 2001 From: Ronan Collobert Date: Thu, 24 Oct 2013 19:14:00 +0200 Subject: fix missing LUA_EXTERNC definition --- qttorch.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3