summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/replacement
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-09 02:42:03 +0100
committerSven Gothel <[email protected]>2010-11-09 02:42:03 +0100
commit7865b355bd52958f4b27e42b500e83c52255ef37 (patch)
treecdd887ede9b43f1a3d18527cf9eaabc9627946da /make/stub_includes/replacement
parent08a74fb5d45f29f4d77a2713d1ebca4343519eb0 (diff)
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
Diffstat (limited to 'make/stub_includes/replacement')
-rw-r--r--make/stub_includes/replacement/inttypes.h18
-rw-r--r--make/stub_includes/replacement/stddef.h7
-rw-r--r--make/stub_includes/replacement/stdint.h18
3 files changed, 0 insertions, 43 deletions
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 <stdint.h>
-#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 <stdint.h>
-#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