aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-10-25 10:21:43 +0200
committerBenoit Germain <bnt.germain@gmail.com>2013-10-25 10:21:43 +0200
commite7f70c05b63356232957a3205c6c605f0839605b (patch)
treedb25bb852064f49342eec51bbb948582a8e65338 /src
parente7006c3816ebe44a89fdc3a453bf9e33d96a525e (diff)
downloadlanes-e7f70c05b63356232957a3205c6c605f0839605b.tar.gz
lanes-e7f70c05b63356232957a3205c6c605f0839605b.tar.bz2
lanes-e7f70c05b63356232957a3205c6c605f0839605b.zip
Fix windows build not exporting public 'deep' API
Diffstat (limited to 'src')
-rw-r--r--src/deep.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/deep.h b/src/deep.h
index 39f501c..1315157 100644
--- a/src/deep.h
+++ b/src/deep.h
@@ -9,9 +9,15 @@
9 9
10#include "lua.h" 10#include "lua.h"
11 11
12typedef void (*luaG_IdFunction)( lua_State *L, char const * const which); 12#if (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
13#define LANES_API __declspec(dllexport)
14#else
15#define LANES_API
16#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
13 17
14int luaG_deep_userdata( lua_State *L, luaG_IdFunction idfunc); 18typedef void (*luaG_IdFunction)( lua_State* L, char const* const which);
15void *luaG_todeep( lua_State *L, luaG_IdFunction idfunc, int index);
16 19
17#endif // __LANES_DEEP_H__ \ No newline at end of file 20extern LANES_API int luaG_deep_userdata( lua_State* L, luaG_IdFunction idfunc);
21extern LANES_API void* luaG_todeep( lua_State* L, luaG_IdFunction idfunc, int index);
22
23#endif // __LANES_DEEP_H__