aboutsummaryrefslogtreecommitdiff
path: root/src/deep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deep.h')
-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__