diff options
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -9,9 +9,15 @@ | |||
9 | 9 | ||
10 | #include "lua.h" | 10 | #include "lua.h" |
11 | 11 | ||
12 | typedef 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 | ||
14 | int luaG_deep_userdata( lua_State *L, luaG_IdFunction idfunc); | 18 | typedef void (*luaG_IdFunction)( lua_State* L, char const* const which); |
15 | void *luaG_todeep( lua_State *L, luaG_IdFunction idfunc, int index); | ||
16 | 19 | ||
17 | #endif // __LANES_DEEP_H__ \ No newline at end of file | 20 | extern LANES_API int luaG_deep_userdata( lua_State* L, luaG_IdFunction idfunc); |
21 | extern LANES_API void* luaG_todeep( lua_State* L, luaG_IdFunction idfunc, int index); | ||
22 | |||
23 | #endif // __LANES_DEEP_H__ | ||