Backout 3a9f8be665a4 (bug 757469) due to orange.

This commit is contained in:
Ryan VanderMeulen 2012-05-23 22:42:53 -04:00
parent 466717d80f
commit a988aa6623
2 changed files with 0 additions and 4 deletions

View File

@ -64,7 +64,6 @@
#define CTYPES_FFI_ULONG (sizeof(long) == 4 ? ffi_type_uint32 : ffi_type_uint64)
#define CTYPES_FFI_SIZE_T (sizeof(size_t) == 4 ? ffi_type_uint32 : ffi_type_uint64)
#define CTYPES_FFI_SSIZE_T (sizeof(size_t) == 4 ? ffi_type_sint32 : ffi_type_sint64)
#define CTYPES_FFI_OFF_T (sizeof(off_t) == 4 ? ffi_type_uint32 : ffi_type_uint64)
#define CTYPES_FFI_INTPTR_T (sizeof(uintptr_t) == 4 ? ffi_type_sint32 : ffi_type_sint64)
#define CTYPES_FFI_UINTPTR_T (sizeof(uintptr_t) == 4 ? ffi_type_uint32 : ffi_type_uint64)
@ -88,7 +87,6 @@ DEFINE_WRAPPED_INT_TYPE(long_long, long long, ffi_type_sint64)
DEFINE_WRAPPED_INT_TYPE(unsigned_long_long, unsigned long long, ffi_type_uint64)
DEFINE_WRAPPED_INT_TYPE(size_t, size_t, CTYPES_FFI_SIZE_T)
DEFINE_WRAPPED_INT_TYPE(ssize_t, CTYPES_SSIZE_T, CTYPES_FFI_SSIZE_T)
DEFINE_WRAPPED_INT_TYPE(off_t, off_t, CTYPES_FFI_OFF_T)
DEFINE_WRAPPED_INT_TYPE(intptr_t, intptr_t, CTYPES_FFI_INTPTR_T)
DEFINE_WRAPPED_INT_TYPE(uintptr_t, uintptr_t, CTYPES_FFI_UINTPTR_T)
DEFINE_FLOAT_TYPE (float32_t, float, ffi_type_float)

View File

@ -130,8 +130,6 @@ function run_test()
ctypes.UInt64, "ctypes.UInt64", ulimits);
run_wrapped_integer_tests(library, ctypes.intptr_t, "intptr_t", ctypes.size_t.size, true,
ctypes.Int64, "ctypes.Int64", slimits);
run_wrapped_integer_tests(library, ctypes.off_t, "off_t", ctypes.off_t.size, true,
ctypes.Int64, "ctypes.Int64", slimits);
// Test the character types.
run_char_tests(library, ctypes.char, "char", 1, true, [-0x80, 0x7f]);