From 7865b355bd52958f4b27e42b500e83c52255ef37 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 9 Nov 2010 02:42:03 +0100 Subject: Gluegen: Types (stddef/stdint), Header and Predefined Macro Change Read API doc ad GlueGen.java New predefined types: wchar_t, intptr_t, uintptr_t New reusable headers for gluegen usage: make/stub_includes/gluegen for native usage: make/stub_includes/platform New predefined macro #define __GLUEGEN__ 2 --- make/stub_includes/replacement/inttypes.h | 18 ------------------ make/stub_includes/replacement/stddef.h | 7 ------- make/stub_includes/replacement/stdint.h | 18 ------------------ 3 files changed, 43 deletions(-) delete mode 100644 make/stub_includes/replacement/inttypes.h delete mode 100644 make/stub_includes/replacement/stddef.h delete mode 100644 make/stub_includes/replacement/stdint.h (limited to 'make/stub_includes/replacement') diff --git a/make/stub_includes/replacement/inttypes.h b/make/stub_includes/replacement/inttypes.h deleted file mode 100644 index cb4f143..0000000 --- a/make/stub_includes/replacement/inttypes.h +++ /dev/null @@ -1,18 +0,0 @@ -#if defined(WIN32) && defined(__GNUC__) - #include -#elif defined(_WIN32) - typedef __int32 int32_t; - typedef unsigned __int32 uint32_t; - typedef __int64 int64_t; - typedef unsigned __int64 uint64_t; -#else - typedef signed int int32_t; - typedef unsigned int uint32_t; - #if defined(__ia64__) || defined(__x86_64__) - typedef signed long int int64_t; - typedef unsigned long int uint64_t; - #else - typedef signed long long int int64_t; - typedef unsigned long long int uint64_t; - #endif -#endif diff --git a/make/stub_includes/replacement/stddef.h b/make/stub_includes/replacement/stddef.h deleted file mode 100644 index 8aa7005..0000000 --- a/make/stub_includes/replacement/stddef.h +++ /dev/null @@ -1,7 +0,0 @@ -#if defined(_WIN64) - typedef __int64 ptrdiff_t; -#elif defined(__ia64__) || defined(__x86_64__) - typedef long int ptrdiff_t; -#else - typedef int ptrdiff_t; -#endif diff --git a/make/stub_includes/replacement/stdint.h b/make/stub_includes/replacement/stdint.h deleted file mode 100644 index cb4f143..0000000 --- a/make/stub_includes/replacement/stdint.h +++ /dev/null @@ -1,18 +0,0 @@ -#if defined(WIN32) && defined(__GNUC__) - #include -#elif defined(_WIN32) - typedef __int32 int32_t; - typedef unsigned __int32 uint32_t; - typedef __int64 int64_t; - typedef unsigned __int64 uint64_t; -#else - typedef signed int int32_t; - typedef unsigned int uint32_t; - #if defined(__ia64__) || defined(__x86_64__) - typedef signed long int int64_t; - typedef unsigned long int uint64_t; - #else - typedef signed long long int int64_t; - typedef unsigned long long int uint64_t; - #endif -#endif -- cgit v1.2.3