summaryrefslogtreecommitdiff
path: root/src/lanes.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-02-13 20:30:04 +0100
committerBenoit Germain <bnt.germain@gmail.com>2013-02-13 20:30:26 +0100
commit577bca074df12c520f49e9361381f0cad78200c1 (patch)
tree188a4d1e3366a9351ea5b9689efbaf3f98996100 /src/lanes.h
parent131c11c2ae327de5b4db743a6a81eb9b57470d0e (diff)
downloadlanes-3.5.1.tar.gz
lanes-3.5.1.tar.bz2
lanes-3.5.1.zip
version 3.5.1v3.5.1
* new lanes.h header and API call luaopen_lanes_embedded() for embedders * "lanes.core" is an acceptable library in the generator libs argument * library "*" wildcard also opens lanes.core * tweaked code for Xbox 360 build
Diffstat (limited to '')
-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