summaryrefslogtreecommitdiff
path: root/src/lanes.h
blob: d07750a640c0188433c979c1a4b2e539374f0d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if !defined( __lanes_h__)
#define __lanes_h__ 1

#include "lua.h"

#if (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
#define LANES_API __declspec(dllexport)
#else
#define LANES_API
#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)

extern int LANES_API luaopen_lanes_core( lua_State* L);

// Call this to work with embedded Lanes instead of calling luaopen_lanes_core()
extern void LANES_API luaopen_lanes_embedded( lua_State* L, lua_CFunction _luaopen_lanes);

#endif // __lanes_h__