From 88b882ed0b432c6aff2063213e2f793a36dd25f7 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 6 Jun 2019 00:11:18 +0800 Subject: *misc --- source/3rd-party/Luax/luax_config.h | 66 ------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 source/3rd-party/Luax/luax_config.h (limited to 'source/3rd-party/Luax/luax_config.h') diff --git a/source/3rd-party/Luax/luax_config.h b/source/3rd-party/Luax/luax_config.h deleted file mode 100644 index 31ea7df..0000000 --- a/source/3rd-party/Luax/luax_config.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef __LUAX_TYPE_H__ -#define __LUAX_TYPE_H__ - -#include - -extern "C" { -#include "lua51/lua.h" -#include "lua51/lualib.h" -#include "lua51/lauxlib.h" -} - -#include - -namespace Luax -{ - - 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 LUAX_FINAL final - #define LUAX_LIBRARY_EXPORT __declspec(dllexport) - #define LUAX_LIBRARY_IMPORT __declspec(dllimport) - #define LUAX_FORCE_INLINE __forceinline - #define LUAX_RESTRICT __restrict - #define LUAX_ATTRIBUTE_USED - #define LUAX_ABSTRACT - #define LUAX_API LUAX_LIBRARY_EXPORT -#else - #define LUAX_FINAL final - #define LUAX_LIBRARY_EXPORT __attribute__((visibility("default"))) - #define LUAX_LIBRARY_IMPORT - #define LUAX_FORCE_INLINE __attribute__((always_inline)) inline - #define LUAX_RESTRICT __restrict__ - #define LUAX_ATTRIBUTE_USED __attribute__((used)) - #define LUAX_ABSTRACT - #define LUAX_API LUAX_LIBRARY_EXPORT -#endif - -#define LUAX_ENABLE_NATIVE_EXTEND 0 - -#define LUAX_ENABLE_PLAIN_CLASS 0 -#define LUAX_ENABLE_PLAIN_ENUM 0 - -#define LUAX_PROFILER 1 - -} - -#if LUAX_PROFILER -#include -#endif - -#endif // __LUAX_TYPE_H__ \ No newline at end of file -- cgit v1.1-26-g67d0