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

26 lines
406 B
C

#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"
/// @cond
void LUA_EXTENSIONS_DLL luaopen_lua_extensions(lua_State *L);
/// @endcond
#if __cplusplus
}
#endif
#endif /* __LUA_EXTRA_H_ */