summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2013-05-29 21:23:06 -0700
committerWayne Meissner <wmeissner@gmail.com>2013-05-29 21:23:06 -0700
commitbddbe285c09d1554bdbfe8629ea36bb7bf228c69 (patch)
treeb62566b27242e239d803f1a349ac29fde624ce32
parent32d6e45d5bef360d103dd53df63c7b1730741b1b (diff)
parentadfda3909cfd5b48393d385f524c16848d76a7e2 (diff)
downloadffi-bddbe285c09d1554bdbfe8629ea36bb7bf228c69.tar.gz
Merge pull request #271 from eradman/master
added intptr_t and uintptr_t types to *-openbsd/type.conf
-rw-r--r--lib/ffi/platform/i386-openbsd/types.conf2
-rw-r--r--lib/ffi/platform/x86_64-openbsd/types.conf2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/ffi/platform/i386-openbsd/types.conf b/lib/ffi/platform/i386-openbsd/types.conf
index 33bd12b..c4df68a 100644
--- a/lib/ffi/platform/i386-openbsd/types.conf
+++ b/lib/ffi/platform/i386-openbsd/types.conf
@@ -82,6 +82,8 @@ rbx.platform.typedef.int32_t = int
rbx.platform.typedef.uint32_t = uint
rbx.platform.typedef.int64_t = long_long
rbx.platform.typedef.uint64_t = ulong_long
+rbx.platform.typedef.intptr_t = long
+rbx.platform.typedef.uintptr_t = ulong
rbx.platform.typedef.u_int8_t = uchar
rbx.platform.typedef.u_int16_t = ushort
rbx.platform.typedef.u_int32_t = uint
diff --git a/lib/ffi/platform/x86_64-openbsd/types.conf b/lib/ffi/platform/x86_64-openbsd/types.conf
index 33bd12b..c4df68a 100644
--- a/lib/ffi/platform/x86_64-openbsd/types.conf
+++ b/lib/ffi/platform/x86_64-openbsd/types.conf
@@ -82,6 +82,8 @@ rbx.platform.typedef.int32_t = int
rbx.platform.typedef.uint32_t = uint
rbx.platform.typedef.int64_t = long_long
rbx.platform.typedef.uint64_t = ulong_long
+rbx.platform.typedef.intptr_t = long
+rbx.platform.typedef.uintptr_t = ulong
rbx.platform.typedef.u_int8_t = uchar
rbx.platform.typedef.u_int16_t = ushort
rbx.platform.typedef.u_int32_t = uint