diff options
Diffstat (limited to 'Runtime/LuaBind/LuaBindConfig.h')
-rw-r--r-- | Runtime/LuaBind/LuaBindConfig.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/Runtime/LuaBind/LuaBindConfig.h b/Runtime/LuaBind/LuaBindConfig.h deleted file mode 100644 index 72709bd..0000000 --- a/Runtime/LuaBind/LuaBindConfig.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef __LUA_BIND_TYPE_H__ -#define __LUA_BIND_TYPE_H__ - -#include <iostream> - -extern "C" { -#include "ThirdParty/lua51/lua.h" -#include "ThirdParty/lua51/lualib.h" -#include "ThirdParty/lua51/lauxlib.h" -} - -#include <assert.h> - -namespace LuaBind -{ - - typedef unsigned int uint; - typedef unsigned long uintptr; - typedef long sintptr; - - typedef const char cc8; - - typedef unsigned char u8; - typedef unsigned short u16; - typedef unsigned int u32; - typedef unsigned long long u64; - - typedef signed char s8; - typedef signed short s16; - typedef signed int s32; - typedef signed long long s64; - -#ifdef _WIN32 - #define LUA_BIND_FINAL final - #define LUA_BIND_LIBRARY_EXPORT __declspec(dllexport) - #define LUA_BIND_LIBRARY_IMPORT __declspec(dllimport) - #define LUA_BIND_FORCE_INLINE __forceinline - #define LUA_BIND_RESTRICT __restrict - #define LUA_BIND_ATTRIBUTE_USED - #define LUA_BIND_ABSTRACT - #define LUA_BIND_API LUA_BIND_LIBRARY_EXPORT -#else - #define LUA_BIND_FINAL final - #define LUA_BIND_LIBRARY_EXPORT __attribute__((visibility("default"))) - #define LUA_BIND_LIBRARY_IMPORT - #define LUA_BIND_FORCE_INLINE __attribute__((always_inline)) inline - #define LUA_BIND_RESTRICT __restrict__ - #define LUA_BIND_ATTRIBUTE_USED __attribute__((used)) - #define LUA_BIND_ABSTRACT - #define LUA_BIND_API LUA_BIND_LIBRARY_EXPORT -#endif - -#define LUA_BIND_ENABLE_NATIVE_EXTEND 0 - -#define LUA_BIND_ENABLE_PLAIN_CLASS 0 -#define LUA_BIND_ENABLE_PLAIN_ENUM 0 - -#define LUA_BIND_PROFILER 1 - -} - -#if LUA_BIND_PROFILER -#include <iostream> -#endif - -#endif // __LUA_BIND_TYPE_H__
\ No newline at end of file |