summaryrefslogtreecommitdiff
path: root/src/lanes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.h')
-rw-r--r--src/lanes.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lanes.h b/src/lanes.h
new file mode 100644
index 0000000..d07750a
--- /dev/null
+++ b/src/lanes.h
@@ -0,0 +1,17 @@
1#if !defined( __lanes_h__)
2#define __lanes_h__ 1
3
4#include "lua.h"
5
6#if (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
7#define LANES_API __declspec(dllexport)
8#else
9#define LANES_API
10#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
11
12extern int LANES_API luaopen_lanes_core( lua_State* L);
13
14// Call this to work with embedded Lanes instead of calling luaopen_lanes_core()
15extern void LANES_API luaopen_lanes_embedded( lua_State* L, lua_CFunction _luaopen_lanes);
16
17#endif // __lanes_h__ \ No newline at end of file