ffi 1.0.7-x86-mingw32 → 1.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ffi might be problematic. Click here for more details.

Files changed (38) hide show
  1. data/Rakefile +3 -3
  2. data/ext/ffi_c/AbstractMemory.c +40 -3
  3. data/ext/ffi_c/AbstractMemory.h +2 -2
  4. data/ext/ffi_c/Buffer.c +28 -0
  5. data/ext/ffi_c/DynamicLibrary.c +17 -6
  6. data/ext/ffi_c/Function.c +20 -10
  7. data/ext/ffi_c/MemoryPointer.c +17 -27
  8. data/ext/ffi_c/Platform.c +17 -7
  9. data/ext/ffi_c/Pointer.c +103 -12
  10. data/ext/ffi_c/Pointer.h +9 -0
  11. data/ext/ffi_c/Struct.c +43 -1
  12. data/ext/ffi_c/StructLayout.c +2 -1
  13. data/lib/1.8/ffi_c.so +0 -0
  14. data/lib/1.9/ffi_c.so +0 -0
  15. data/lib/ffi/enum.rb +1 -3
  16. data/lib/ffi/platform.rb +1 -1
  17. data/lib/ffi/platform/i386-darwin/types.conf +100 -0
  18. data/lib/ffi/platform/i386-linux/types.conf +100 -0
  19. data/lib/ffi/platform/i386-openbsd/types.conf +126 -0
  20. data/lib/ffi/platform/i386-solaris/types.conf +122 -0
  21. data/lib/ffi/platform/i386-windows/types.conf +105 -0
  22. data/lib/ffi/platform/powerpc-aix/types.conf +180 -0
  23. data/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
  24. data/lib/ffi/platform/sparc-solaris/types.conf +128 -0
  25. data/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
  26. data/lib/ffi/platform/x86_64-darwin/types.conf +100 -0
  27. data/lib/ffi/platform/x86_64-linux/types.conf +100 -0
  28. data/lib/ffi/platform/x86_64-openbsd/types.conf +126 -0
  29. data/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
  30. data/lib/ffi/struct.rb +1 -1
  31. data/lib/ffi/tools/generator.rb +1 -1
  32. data/lib/ffi/types.rb +2 -1
  33. data/spec/ffi/dup_spec.rb +65 -0
  34. data/spec/ffi/enum_spec.rb +28 -0
  35. data/spec/ffi/strptr_spec.rb +11 -2
  36. data/spec/ffi/struct_spec.rb +2 -2
  37. data/tasks/extension.rake +1 -1
  38. metadata +20 -21
@@ -0,0 +1,100 @@
1
+ rbx.platform.typedef.__int8_t = char
2
+ rbx.platform.typedef.__uint8_t = uchar
3
+ rbx.platform.typedef.__int16_t = short
4
+ rbx.platform.typedef.__uint16_t = ushort
5
+ rbx.platform.typedef.__int32_t = int
6
+ rbx.platform.typedef.__uint32_t = uint
7
+ rbx.platform.typedef.__int64_t = long_long
8
+ rbx.platform.typedef.__uint64_t = ulong_long
9
+ rbx.platform.typedef.__darwin_intptr_t = long
10
+ rbx.platform.typedef.__darwin_natural_t = uint
11
+ rbx.platform.typedef.__darwin_ct_rune_t = int
12
+ rbx.platform.typedef.__darwin_ptrdiff_t = int
13
+ rbx.platform.typedef.__darwin_size_t = ulong
14
+ rbx.platform.typedef.__darwin_wchar_t = int
15
+ rbx.platform.typedef.__darwin_rune_t = int
16
+ rbx.platform.typedef.__darwin_wint_t = int
17
+ rbx.platform.typedef.__darwin_clock_t = ulong
18
+ rbx.platform.typedef.__darwin_socklen_t = uint
19
+ rbx.platform.typedef.__darwin_ssize_t = long
20
+ rbx.platform.typedef.__darwin_time_t = long
21
+ rbx.platform.typedef.int8_t = char
22
+ rbx.platform.typedef.u_int8_t = uchar
23
+ rbx.platform.typedef.int16_t = short
24
+ rbx.platform.typedef.u_int16_t = ushort
25
+ rbx.platform.typedef.int32_t = int
26
+ rbx.platform.typedef.u_int32_t = uint
27
+ rbx.platform.typedef.int64_t = long_long
28
+ rbx.platform.typedef.u_int64_t = ulong_long
29
+ rbx.platform.typedef.register_t = int
30
+ rbx.platform.typedef.intptr_t = long
31
+ rbx.platform.typedef.uintptr_t = ulong
32
+ rbx.platform.typedef.user_addr_t = ulong_long
33
+ rbx.platform.typedef.user_size_t = ulong_long
34
+ rbx.platform.typedef.user_ssize_t = long_long
35
+ rbx.platform.typedef.user_long_t = long_long
36
+ rbx.platform.typedef.user_ulong_t = ulong_long
37
+ rbx.platform.typedef.user_time_t = long_long
38
+ rbx.platform.typedef.syscall_arg_t = ulong_long
39
+ rbx.platform.typedef.__darwin_blkcnt_t = long_long
40
+ rbx.platform.typedef.__darwin_blksize_t = int
41
+ rbx.platform.typedef.__darwin_dev_t = int
42
+ rbx.platform.typedef.__darwin_fsblkcnt_t = uint
43
+ rbx.platform.typedef.__darwin_fsfilcnt_t = uint
44
+ rbx.platform.typedef.__darwin_gid_t = uint
45
+ rbx.platform.typedef.__darwin_id_t = uint
46
+ rbx.platform.typedef.__darwin_ino64_t = ulong_long
47
+ rbx.platform.typedef.__darwin_ino_t = ulong_long
48
+ rbx.platform.typedef.__darwin_mach_port_name_t = uint
49
+ rbx.platform.typedef.__darwin_mach_port_t = uint
50
+ rbx.platform.typedef.__darwin_mode_t = ushort
51
+ rbx.platform.typedef.__darwin_off_t = long_long
52
+ rbx.platform.typedef.__darwin_pid_t = int
53
+ rbx.platform.typedef.__darwin_pthread_key_t = ulong
54
+ rbx.platform.typedef.__darwin_sigset_t = uint
55
+ rbx.platform.typedef.__darwin_suseconds_t = int
56
+ rbx.platform.typedef.__darwin_uid_t = uint
57
+ rbx.platform.typedef.__darwin_useconds_t = uint
58
+ rbx.platform.typedef.__darwin_uuid_t[16] = uchar
59
+ rbx.platform.typedef.u_char = uchar
60
+ rbx.platform.typedef.u_short = ushort
61
+ rbx.platform.typedef.u_int = uint
62
+ rbx.platform.typedef.u_long = ulong
63
+ rbx.platform.typedef.ushort = ushort
64
+ rbx.platform.typedef.uint = uint
65
+ rbx.platform.typedef.u_quad_t = ulong_long
66
+ rbx.platform.typedef.quad_t = long_long
67
+ rbx.platform.typedef.qaddr_t = pointer
68
+ rbx.platform.typedef.caddr_t = string
69
+ rbx.platform.typedef.daddr_t = int
70
+ rbx.platform.typedef.dev_t = int
71
+ rbx.platform.typedef.fixpt_t = uint
72
+ rbx.platform.typedef.blkcnt_t = long_long
73
+ rbx.platform.typedef.blksize_t = int
74
+ rbx.platform.typedef.gid_t = uint
75
+ rbx.platform.typedef.in_addr_t = uint
76
+ rbx.platform.typedef.in_port_t = ushort
77
+ rbx.platform.typedef.ino_t = ulong_long
78
+ rbx.platform.typedef.ino64_t = ulong_long
79
+ rbx.platform.typedef.key_t = int
80
+ rbx.platform.typedef.mode_t = ushort
81
+ rbx.platform.typedef.nlink_t = ushort
82
+ rbx.platform.typedef.id_t = uint
83
+ rbx.platform.typedef.pid_t = int
84
+ rbx.platform.typedef.off_t = long_long
85
+ rbx.platform.typedef.segsz_t = int
86
+ rbx.platform.typedef.swblk_t = int
87
+ rbx.platform.typedef.uid_t = uint
88
+ rbx.platform.typedef.clock_t = ulong
89
+ rbx.platform.typedef.size_t = ulong
90
+ rbx.platform.typedef.ssize_t = long
91
+ rbx.platform.typedef.time_t = long
92
+ rbx.platform.typedef.useconds_t = uint
93
+ rbx.platform.typedef.suseconds_t = int
94
+ rbx.platform.typedef.fd_mask = int
95
+ rbx.platform.typedef.pthread_key_t = ulong
96
+ rbx.platform.typedef.fsblkcnt_t = uint
97
+ rbx.platform.typedef.fsfilcnt_t = uint
98
+ rbx.platform.typedef.sa_family_t = uchar
99
+ rbx.platform.typedef.socklen_t = uint
100
+ rbx.platform.typedef.rlim_t = ulong_long
@@ -0,0 +1,128 @@
1
+ rbx.platform.typedef.lock_t = uchar
2
+ rbx.platform.typedef.int8_t = char
3
+ rbx.platform.typedef.int16_t = short
4
+ rbx.platform.typedef.int32_t = int
5
+ rbx.platform.typedef.int64_t = long_long
6
+ rbx.platform.typedef.uint8_t = uchar
7
+ rbx.platform.typedef.uint16_t = ushort
8
+ rbx.platform.typedef.uint32_t = uint
9
+ rbx.platform.typedef.uint64_t = ulong_long
10
+ rbx.platform.typedef.intmax_t = long_long
11
+ rbx.platform.typedef.uintmax_t = ulong_long
12
+ rbx.platform.typedef.intptr_t = int
13
+ rbx.platform.typedef.uintptr_t = uint
14
+ rbx.platform.typedef.int_fast8_t = char
15
+ rbx.platform.typedef.int_fast16_t = int
16
+ rbx.platform.typedef.int_fast32_t = int
17
+ rbx.platform.typedef.int_fast64_t = long_long
18
+ rbx.platform.typedef.uint_fast8_t = uchar
19
+ rbx.platform.typedef.uint_fast16_t = uint
20
+ rbx.platform.typedef.uint_fast32_t = uint
21
+ rbx.platform.typedef.uint_fast64_t = ulong_long
22
+ rbx.platform.typedef.int_least8_t = char
23
+ rbx.platform.typedef.int_least16_t = short
24
+ rbx.platform.typedef.int_least32_t = int
25
+ rbx.platform.typedef.int_least64_t = long_long
26
+ rbx.platform.typedef.uint_least8_t = uchar
27
+ rbx.platform.typedef.uint_least16_t = ushort
28
+ rbx.platform.typedef.uint_least32_t = uint
29
+ rbx.platform.typedef.uint_least64_t = ulong_long
30
+ rbx.platform.typedef.longlong_t = long_long
31
+ rbx.platform.typedef.u_longlong_t = ulong_long
32
+ rbx.platform.typedef.t_scalar_t = long
33
+ rbx.platform.typedef.t_uscalar_t = ulong
34
+ rbx.platform.typedef.uchar_t = uchar
35
+ rbx.platform.typedef.ushort_t = ushort
36
+ rbx.platform.typedef.uint_t = uint
37
+ rbx.platform.typedef.ulong_t = ulong
38
+ rbx.platform.typedef.*caddr_t = char
39
+ rbx.platform.typedef.daddr_t = long
40
+ rbx.platform.typedef.cnt_t = short
41
+ rbx.platform.typedef.ptrdiff_t = int
42
+ rbx.platform.typedef.pfn_t = ulong
43
+ rbx.platform.typedef.pgcnt_t = ulong
44
+ rbx.platform.typedef.spgcnt_t = long
45
+ rbx.platform.typedef.use_t = uchar
46
+ rbx.platform.typedef.sysid_t = short
47
+ rbx.platform.typedef.index_t = short
48
+ rbx.platform.typedef.off_t = long_long
49
+ rbx.platform.typedef.off64_t = long_long
50
+ rbx.platform.typedef.ino_t = ulong_long
51
+ rbx.platform.typedef.blkcnt_t = long_long
52
+ rbx.platform.typedef.fsblkcnt_t = ulong_long
53
+ rbx.platform.typedef.fsfilcnt_t = ulong_long
54
+ rbx.platform.typedef.ino64_t = ulong_long
55
+ rbx.platform.typedef.blkcnt64_t = long_long
56
+ rbx.platform.typedef.fsblkcnt64_t = ulong_long
57
+ rbx.platform.typedef.fsfilcnt64_t = ulong_long
58
+ rbx.platform.typedef.blksize_t = long
59
+ rbx.platform.typedef.pad64_t = long_long
60
+ rbx.platform.typedef.upad64_t = ulong_long
61
+ rbx.platform.typedef.offset_t = long_long
62
+ rbx.platform.typedef.u_offset_t = ulong_long
63
+ rbx.platform.typedef.len_t = ulong_long
64
+ rbx.platform.typedef.diskaddr_t = ulong_long
65
+ rbx.platform.typedef.k_fltset_t = uint
66
+ rbx.platform.typedef.id_t = long
67
+ rbx.platform.typedef.useconds_t = uint
68
+ rbx.platform.typedef.suseconds_t = long
69
+ rbx.platform.typedef.major_t = ulong
70
+ rbx.platform.typedef.minor_t = ulong
71
+ rbx.platform.typedef.pri_t = short
72
+ rbx.platform.typedef.cpu_flag_t = ushort
73
+ rbx.platform.typedef.o_mode_t = ushort
74
+ rbx.platform.typedef.o_dev_t = short
75
+ rbx.platform.typedef.o_uid_t = ushort
76
+ rbx.platform.typedef.o_gid_t = ushort
77
+ rbx.platform.typedef.o_nlink_t = short
78
+ rbx.platform.typedef.o_pid_t = short
79
+ rbx.platform.typedef.o_ino_t = ushort
80
+ rbx.platform.typedef.key_t = int
81
+ rbx.platform.typedef.mode_t = ulong
82
+ rbx.platform.typedef.uid_t = long
83
+ rbx.platform.typedef.gid_t = long
84
+ rbx.platform.typedef.taskid_t = long
85
+ rbx.platform.typedef.projid_t = long
86
+ rbx.platform.typedef.poolid_t = long
87
+ rbx.platform.typedef.zoneid_t = long
88
+ rbx.platform.typedef.ctid_t = long
89
+ rbx.platform.typedef.pthread_t = uint
90
+ rbx.platform.typedef.pthread_key_t = uint
91
+ rbx.platform.typedef.dev_t = ulong
92
+ rbx.platform.typedef.nlink_t = ulong
93
+ rbx.platform.typedef.pid_t = long
94
+ rbx.platform.typedef.size_t = uint
95
+ rbx.platform.typedef.ssize_t = int
96
+ rbx.platform.typedef.time_t = long
97
+ rbx.platform.typedef.clock_t = long
98
+ rbx.platform.typedef.clockid_t = int
99
+ rbx.platform.typedef.timer_t = int
100
+ rbx.platform.typedef.unchar = uchar
101
+ rbx.platform.typedef.ushort = ushort
102
+ rbx.platform.typedef.uint = uint
103
+ rbx.platform.typedef.ulong = ulong
104
+ rbx.platform.typedef.u_char = uchar
105
+ rbx.platform.typedef.u_short = ushort
106
+ rbx.platform.typedef.u_int = uint
107
+ rbx.platform.typedef.u_long = ulong
108
+ rbx.platform.typedef.hrtime_t = long_long
109
+ rbx.platform.typedef.fd_mask = long
110
+ rbx.platform.typedef.fds_mask = long
111
+ rbx.platform.typedef.sa_family_t = ushort
112
+ rbx.platform.typedef.socklen_t = uint
113
+ rbx.platform.typedef.Psocklen_t = pointer
114
+ rbx.platform.typedef.disp_lock_t = uchar
115
+ rbx.platform.typedef.rlim_t = ulong_long
116
+ rbx.platform.typedef.rlim64_t = ulong_long
117
+ rbx.platform.typedef.kid_t = int
118
+ rbx.platform.typedef.int) = pointer
119
+ rbx.platform.typedef.size_t) = pointer
120
+ rbx.platform.typedef.int) = pointer
121
+ rbx.platform.typedef.avl_index_t = uint
122
+ rbx.platform.typedef.() = pointer
123
+ rbx.platform.typedef.nfds_t = ulong
124
+ rbx.platform.typedef.model_t = uint
125
+ rbx.platform.typedef.ts_t = long_long
126
+ rbx.platform.typedef.in_port_t = ushort
127
+ rbx.platform.typedef.in_addr_t = uint
128
+ rbx.platform.typedef.ipaddr_t = uint
@@ -0,0 +1,128 @@
1
+ rbx.platform.typedef.lock_t = uchar
2
+ rbx.platform.typedef.int8_t = char
3
+ rbx.platform.typedef.int16_t = short
4
+ rbx.platform.typedef.int32_t = int
5
+ rbx.platform.typedef.int64_t = long_long
6
+ rbx.platform.typedef.uint8_t = uchar
7
+ rbx.platform.typedef.uint16_t = ushort
8
+ rbx.platform.typedef.uint32_t = uint
9
+ rbx.platform.typedef.uint64_t = ulong_long
10
+ rbx.platform.typedef.intmax_t = long_long
11
+ rbx.platform.typedef.uintmax_t = ulong_long
12
+ rbx.platform.typedef.intptr_t = int
13
+ rbx.platform.typedef.uintptr_t = uint
14
+ rbx.platform.typedef.int_fast8_t = char
15
+ rbx.platform.typedef.int_fast16_t = int
16
+ rbx.platform.typedef.int_fast32_t = int
17
+ rbx.platform.typedef.int_fast64_t = long_long
18
+ rbx.platform.typedef.uint_fast8_t = uchar
19
+ rbx.platform.typedef.uint_fast16_t = uint
20
+ rbx.platform.typedef.uint_fast32_t = uint
21
+ rbx.platform.typedef.uint_fast64_t = ulong_long
22
+ rbx.platform.typedef.int_least8_t = char
23
+ rbx.platform.typedef.int_least16_t = short
24
+ rbx.platform.typedef.int_least32_t = int
25
+ rbx.platform.typedef.int_least64_t = long_long
26
+ rbx.platform.typedef.uint_least8_t = uchar
27
+ rbx.platform.typedef.uint_least16_t = ushort
28
+ rbx.platform.typedef.uint_least32_t = uint
29
+ rbx.platform.typedef.uint_least64_t = ulong_long
30
+ rbx.platform.typedef.longlong_t = long_long
31
+ rbx.platform.typedef.u_longlong_t = ulong_long
32
+ rbx.platform.typedef.t_scalar_t = long
33
+ rbx.platform.typedef.t_uscalar_t = ulong
34
+ rbx.platform.typedef.uchar_t = uchar
35
+ rbx.platform.typedef.ushort_t = ushort
36
+ rbx.platform.typedef.uint_t = uint
37
+ rbx.platform.typedef.ulong_t = ulong
38
+ rbx.platform.typedef.*caddr_t = char
39
+ rbx.platform.typedef.daddr_t = long
40
+ rbx.platform.typedef.cnt_t = short
41
+ rbx.platform.typedef.ptrdiff_t = int
42
+ rbx.platform.typedef.pfn_t = ulong
43
+ rbx.platform.typedef.pgcnt_t = ulong
44
+ rbx.platform.typedef.spgcnt_t = long
45
+ rbx.platform.typedef.use_t = uchar
46
+ rbx.platform.typedef.sysid_t = short
47
+ rbx.platform.typedef.index_t = short
48
+ rbx.platform.typedef.off_t = long_long
49
+ rbx.platform.typedef.off64_t = long_long
50
+ rbx.platform.typedef.ino_t = ulong_long
51
+ rbx.platform.typedef.blkcnt_t = long_long
52
+ rbx.platform.typedef.fsblkcnt_t = ulong_long
53
+ rbx.platform.typedef.fsfilcnt_t = ulong_long
54
+ rbx.platform.typedef.ino64_t = ulong_long
55
+ rbx.platform.typedef.blkcnt64_t = long_long
56
+ rbx.platform.typedef.fsblkcnt64_t = ulong_long
57
+ rbx.platform.typedef.fsfilcnt64_t = ulong_long
58
+ rbx.platform.typedef.blksize_t = long
59
+ rbx.platform.typedef.pad64_t = long_long
60
+ rbx.platform.typedef.upad64_t = ulong_long
61
+ rbx.platform.typedef.offset_t = long_long
62
+ rbx.platform.typedef.u_offset_t = ulong_long
63
+ rbx.platform.typedef.len_t = ulong_long
64
+ rbx.platform.typedef.diskaddr_t = ulong_long
65
+ rbx.platform.typedef.k_fltset_t = uint
66
+ rbx.platform.typedef.id_t = long
67
+ rbx.platform.typedef.useconds_t = uint
68
+ rbx.platform.typedef.suseconds_t = long
69
+ rbx.platform.typedef.major_t = ulong
70
+ rbx.platform.typedef.minor_t = ulong
71
+ rbx.platform.typedef.pri_t = short
72
+ rbx.platform.typedef.cpu_flag_t = ushort
73
+ rbx.platform.typedef.o_mode_t = ushort
74
+ rbx.platform.typedef.o_dev_t = short
75
+ rbx.platform.typedef.o_uid_t = ushort
76
+ rbx.platform.typedef.o_gid_t = ushort
77
+ rbx.platform.typedef.o_nlink_t = short
78
+ rbx.platform.typedef.o_pid_t = short
79
+ rbx.platform.typedef.o_ino_t = ushort
80
+ rbx.platform.typedef.key_t = int
81
+ rbx.platform.typedef.mode_t = ulong
82
+ rbx.platform.typedef.uid_t = long
83
+ rbx.platform.typedef.gid_t = long
84
+ rbx.platform.typedef.taskid_t = long
85
+ rbx.platform.typedef.projid_t = long
86
+ rbx.platform.typedef.poolid_t = long
87
+ rbx.platform.typedef.zoneid_t = long
88
+ rbx.platform.typedef.ctid_t = long
89
+ rbx.platform.typedef.pthread_t = uint
90
+ rbx.platform.typedef.pthread_key_t = uint
91
+ rbx.platform.typedef.dev_t = ulong
92
+ rbx.platform.typedef.nlink_t = ulong
93
+ rbx.platform.typedef.pid_t = long
94
+ rbx.platform.typedef.size_t = uint
95
+ rbx.platform.typedef.ssize_t = int
96
+ rbx.platform.typedef.time_t = long
97
+ rbx.platform.typedef.clock_t = long
98
+ rbx.platform.typedef.clockid_t = int
99
+ rbx.platform.typedef.timer_t = int
100
+ rbx.platform.typedef.unchar = uchar
101
+ rbx.platform.typedef.ushort = ushort
102
+ rbx.platform.typedef.uint = uint
103
+ rbx.platform.typedef.ulong = ulong
104
+ rbx.platform.typedef.u_char = uchar
105
+ rbx.platform.typedef.u_short = ushort
106
+ rbx.platform.typedef.u_int = uint
107
+ rbx.platform.typedef.u_long = ulong
108
+ rbx.platform.typedef.hrtime_t = long_long
109
+ rbx.platform.typedef.fd_mask = long
110
+ rbx.platform.typedef.fds_mask = long
111
+ rbx.platform.typedef.sa_family_t = ushort
112
+ rbx.platform.typedef.socklen_t = uint
113
+ rbx.platform.typedef.Psocklen_t = pointer
114
+ rbx.platform.typedef.disp_lock_t = uchar
115
+ rbx.platform.typedef.rlim_t = ulong_long
116
+ rbx.platform.typedef.rlim64_t = ulong_long
117
+ rbx.platform.typedef.kid_t = int
118
+ rbx.platform.typedef.int) = pointer
119
+ rbx.platform.typedef.size_t) = pointer
120
+ rbx.platform.typedef.int) = pointer
121
+ rbx.platform.typedef.avl_index_t = uint
122
+ rbx.platform.typedef.() = pointer
123
+ rbx.platform.typedef.nfds_t = ulong
124
+ rbx.platform.typedef.model_t = uint
125
+ rbx.platform.typedef.ts_t = long_long
126
+ rbx.platform.typedef.in_port_t = ushort
127
+ rbx.platform.typedef.in_addr_t = uint
128
+ rbx.platform.typedef.ipaddr_t = uint
@@ -0,0 +1,100 @@
1
+ rbx.platform.typedef.__int8_t = char
2
+ rbx.platform.typedef.__uint8_t = uchar
3
+ rbx.platform.typedef.__int16_t = short
4
+ rbx.platform.typedef.__uint16_t = ushort
5
+ rbx.platform.typedef.__int32_t = int
6
+ rbx.platform.typedef.__uint32_t = uint
7
+ rbx.platform.typedef.__int64_t = long_long
8
+ rbx.platform.typedef.__uint64_t = ulong_long
9
+ rbx.platform.typedef.__darwin_intptr_t = long
10
+ rbx.platform.typedef.__darwin_natural_t = uint
11
+ rbx.platform.typedef.__darwin_ct_rune_t = int
12
+ rbx.platform.typedef.__darwin_ptrdiff_t = long
13
+ rbx.platform.typedef.__darwin_size_t = ulong
14
+ rbx.platform.typedef.__darwin_wchar_t = int
15
+ rbx.platform.typedef.__darwin_rune_t = int
16
+ rbx.platform.typedef.__darwin_wint_t = int
17
+ rbx.platform.typedef.__darwin_clock_t = ulong
18
+ rbx.platform.typedef.__darwin_socklen_t = uint
19
+ rbx.platform.typedef.__darwin_ssize_t = long
20
+ rbx.platform.typedef.__darwin_time_t = long
21
+ rbx.platform.typedef.int8_t = char
22
+ rbx.platform.typedef.u_int8_t = uchar
23
+ rbx.platform.typedef.int16_t = short
24
+ rbx.platform.typedef.u_int16_t = ushort
25
+ rbx.platform.typedef.int32_t = int
26
+ rbx.platform.typedef.u_int32_t = uint
27
+ rbx.platform.typedef.int64_t = long_long
28
+ rbx.platform.typedef.u_int64_t = ulong_long
29
+ rbx.platform.typedef.register_t = long_long
30
+ rbx.platform.typedef.intptr_t = long
31
+ rbx.platform.typedef.uintptr_t = ulong
32
+ rbx.platform.typedef.user_addr_t = ulong_long
33
+ rbx.platform.typedef.user_size_t = ulong_long
34
+ rbx.platform.typedef.user_ssize_t = long_long
35
+ rbx.platform.typedef.user_long_t = long_long
36
+ rbx.platform.typedef.user_ulong_t = ulong_long
37
+ rbx.platform.typedef.user_time_t = long_long
38
+ rbx.platform.typedef.syscall_arg_t = ulong_long
39
+ rbx.platform.typedef.__darwin_blkcnt_t = long_long
40
+ rbx.platform.typedef.__darwin_blksize_t = int
41
+ rbx.platform.typedef.__darwin_dev_t = int
42
+ rbx.platform.typedef.__darwin_fsblkcnt_t = uint
43
+ rbx.platform.typedef.__darwin_fsfilcnt_t = uint
44
+ rbx.platform.typedef.__darwin_gid_t = uint
45
+ rbx.platform.typedef.__darwin_id_t = uint
46
+ rbx.platform.typedef.__darwin_ino64_t = ulong_long
47
+ rbx.platform.typedef.__darwin_ino_t = ulong_long
48
+ rbx.platform.typedef.__darwin_mach_port_name_t = uint
49
+ rbx.platform.typedef.__darwin_mach_port_t = uint
50
+ rbx.platform.typedef.__darwin_mode_t = ushort
51
+ rbx.platform.typedef.__darwin_off_t = long_long
52
+ rbx.platform.typedef.__darwin_pid_t = int
53
+ rbx.platform.typedef.__darwin_pthread_key_t = ulong
54
+ rbx.platform.typedef.__darwin_sigset_t = uint
55
+ rbx.platform.typedef.__darwin_suseconds_t = int
56
+ rbx.platform.typedef.__darwin_uid_t = uint
57
+ rbx.platform.typedef.__darwin_useconds_t = uint
58
+ rbx.platform.typedef.__darwin_uuid_t[16] = uchar
59
+ rbx.platform.typedef.u_char = uchar
60
+ rbx.platform.typedef.u_short = ushort
61
+ rbx.platform.typedef.u_int = uint
62
+ rbx.platform.typedef.u_long = ulong
63
+ rbx.platform.typedef.ushort = ushort
64
+ rbx.platform.typedef.uint = uint
65
+ rbx.platform.typedef.u_quad_t = ulong_long
66
+ rbx.platform.typedef.quad_t = long_long
67
+ rbx.platform.typedef.qaddr_t = pointer
68
+ rbx.platform.typedef.caddr_t = string
69
+ rbx.platform.typedef.daddr_t = int
70
+ rbx.platform.typedef.dev_t = int
71
+ rbx.platform.typedef.fixpt_t = uint
72
+ rbx.platform.typedef.blkcnt_t = long_long
73
+ rbx.platform.typedef.blksize_t = int
74
+ rbx.platform.typedef.gid_t = uint
75
+ rbx.platform.typedef.in_addr_t = uint
76
+ rbx.platform.typedef.in_port_t = ushort
77
+ rbx.platform.typedef.ino_t = ulong_long
78
+ rbx.platform.typedef.ino64_t = ulong_long
79
+ rbx.platform.typedef.key_t = int
80
+ rbx.platform.typedef.mode_t = ushort
81
+ rbx.platform.typedef.nlink_t = ushort
82
+ rbx.platform.typedef.id_t = uint
83
+ rbx.platform.typedef.pid_t = int
84
+ rbx.platform.typedef.off_t = long_long
85
+ rbx.platform.typedef.segsz_t = int
86
+ rbx.platform.typedef.swblk_t = int
87
+ rbx.platform.typedef.uid_t = uint
88
+ rbx.platform.typedef.clock_t = ulong
89
+ rbx.platform.typedef.size_t = ulong
90
+ rbx.platform.typedef.ssize_t = long
91
+ rbx.platform.typedef.time_t = long
92
+ rbx.platform.typedef.useconds_t = uint
93
+ rbx.platform.typedef.suseconds_t = int
94
+ rbx.platform.typedef.fd_mask = int
95
+ rbx.platform.typedef.pthread_key_t = ulong
96
+ rbx.platform.typedef.fsblkcnt_t = uint
97
+ rbx.platform.typedef.fsfilcnt_t = uint
98
+ rbx.platform.typedef.sa_family_t = uchar
99
+ rbx.platform.typedef.socklen_t = uint
100
+ rbx.platform.typedef.rlim_t = ulong_long