axmol/cocos/scripting/lua-bindings/manual/network/lua_extensions.h

26 lines
406 B
C
Raw Normal View History

2014-03-10 14:04:58 +08:00
#ifndef __LUA_EXTRA_H_
#define __LUA_EXTRA_H_
#if defined(_USRDLL)
#define LUA_EXTENSIONS_DLL __declspec(dllexport)
#else /* use a DLL library */
#define LUA_EXTENSIONS_DLL
#endif
#if __cplusplus
extern "C" {
#endif
#include "lauxlib.h"
2015-03-24 21:52:56 +08:00
/// @cond
2014-03-10 14:04:58 +08:00
void LUA_EXTENSIONS_DLL luaopen_lua_extensions(lua_State *L);
2015-03-24 21:52:56 +08:00
/// @endcond
2014-03-10 14:04:58 +08:00
#if __cplusplus
}
#endif
#endif /* __LUA_EXTRA_H_ */