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,126 @@
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.__int_least8_t = char
10
+ rbx.platform.typedef.__uint_least8_t = uchar
11
+ rbx.platform.typedef.__int_least16_t = short
12
+ rbx.platform.typedef.__uint_least16_t = ushort
13
+ rbx.platform.typedef.__int_least32_t = int
14
+ rbx.platform.typedef.__uint_least32_t = uint
15
+ rbx.platform.typedef.__int_least64_t = long_long
16
+ rbx.platform.typedef.__uint_least64_t = ulong_long
17
+ rbx.platform.typedef.__int_fast8_t = int
18
+ rbx.platform.typedef.__uint_fast8_t = uint
19
+ rbx.platform.typedef.__int_fast16_t = int
20
+ rbx.platform.typedef.__uint_fast16_t = uint
21
+ rbx.platform.typedef.__int_fast32_t = int
22
+ rbx.platform.typedef.__uint_fast32_t = uint
23
+ rbx.platform.typedef.__int_fast64_t = long_long
24
+ rbx.platform.typedef.__uint_fast64_t = ulong_long
25
+ rbx.platform.typedef.__intptr_t = long
26
+ rbx.platform.typedef.__uintptr_t = ulong
27
+ rbx.platform.typedef.__intmax_t = long_long
28
+ rbx.platform.typedef.__uintmax_t = ulong_long
29
+ rbx.platform.typedef.__register_t = int
30
+ rbx.platform.typedef.__vaddr_t = ulong
31
+ rbx.platform.typedef.__paddr_t = ulong
32
+ rbx.platform.typedef.__vsize_t = ulong
33
+ rbx.platform.typedef.__psize_t = ulong
34
+ rbx.platform.typedef.__clock_t = int
35
+ rbx.platform.typedef.__clockid_t = int
36
+ rbx.platform.typedef.__off_t = long_long
37
+ rbx.platform.typedef.__ptrdiff_t = long
38
+ rbx.platform.typedef.__size_t = ulong
39
+ rbx.platform.typedef.__ssize_t = long
40
+ rbx.platform.typedef.__time_t = int
41
+ rbx.platform.typedef.__timer_t = int
42
+ rbx.platform.typedef.__wchar_t = int
43
+ rbx.platform.typedef.__wint_t = int
44
+ rbx.platform.typedef.__rune_t = int
45
+ rbx.platform.typedef.__wctrans_t = pointer
46
+ rbx.platform.typedef.__wctype_t = pointer
47
+ rbx.platform.typedef.__cpuid_t = ulong
48
+ rbx.platform.typedef.__dev_t = int
49
+ rbx.platform.typedef.__fixpt_t = uint
50
+ rbx.platform.typedef.__gid_t = uint
51
+ rbx.platform.typedef.__id_t = uint
52
+ rbx.platform.typedef.__in_addr_t = uint
53
+ rbx.platform.typedef.__in_port_t = ushort
54
+ rbx.platform.typedef.__ino_t = uint
55
+ rbx.platform.typedef.__key_t = long
56
+ rbx.platform.typedef.__mode_t = uint
57
+ rbx.platform.typedef.__nlink_t = uint
58
+ rbx.platform.typedef.__pid_t = int
59
+ rbx.platform.typedef.__rlim_t = ulong_long
60
+ rbx.platform.typedef.__sa_family_t = uchar
61
+ rbx.platform.typedef.__segsz_t = int
62
+ rbx.platform.typedef.__socklen_t = uint
63
+ rbx.platform.typedef.__swblk_t = int
64
+ rbx.platform.typedef.__uid_t = uint
65
+ rbx.platform.typedef.__useconds_t = uint
66
+ rbx.platform.typedef.__suseconds_t = int
67
+ rbx.platform.typedef.u_char = uchar
68
+ rbx.platform.typedef.u_short = ushort
69
+ rbx.platform.typedef.u_int = uint
70
+ rbx.platform.typedef.u_long = ulong
71
+ rbx.platform.typedef.unchar = uchar
72
+ rbx.platform.typedef.ushort = ushort
73
+ rbx.platform.typedef.uint = uint
74
+ rbx.platform.typedef.ulong = ulong
75
+ rbx.platform.typedef.cpuid_t = ulong
76
+ rbx.platform.typedef.register_t = int
77
+ rbx.platform.typedef.int8_t = char
78
+ rbx.platform.typedef.uint8_t = uchar
79
+ rbx.platform.typedef.int16_t = short
80
+ rbx.platform.typedef.uint16_t = ushort
81
+ rbx.platform.typedef.int32_t = int
82
+ rbx.platform.typedef.uint32_t = uint
83
+ rbx.platform.typedef.int64_t = long_long
84
+ rbx.platform.typedef.uint64_t = ulong_long
85
+ rbx.platform.typedef.u_int8_t = uchar
86
+ rbx.platform.typedef.u_int16_t = ushort
87
+ rbx.platform.typedef.u_int32_t = uint
88
+ rbx.platform.typedef.u_int64_t = ulong_long
89
+ rbx.platform.typedef.quad_t = long_long
90
+ rbx.platform.typedef.u_quad_t = ulong_long
91
+ rbx.platform.typedef.qaddr_t = pointer
92
+ rbx.platform.typedef.vaddr_t = ulong
93
+ rbx.platform.typedef.paddr_t = ulong
94
+ rbx.platform.typedef.vsize_t = ulong
95
+ rbx.platform.typedef.psize_t = ulong
96
+ rbx.platform.typedef.caddr_t = string
97
+ rbx.platform.typedef.daddr_t = int
98
+ rbx.platform.typedef.daddr32_t = int
99
+ rbx.platform.typedef.daddr64_t = long_long
100
+ rbx.platform.typedef.dev_t = int
101
+ rbx.platform.typedef.fixpt_t = uint
102
+ rbx.platform.typedef.gid_t = uint
103
+ rbx.platform.typedef.id_t = uint
104
+ rbx.platform.typedef.ino_t = uint
105
+ rbx.platform.typedef.key_t = long
106
+ rbx.platform.typedef.mode_t = uint
107
+ rbx.platform.typedef.nlink_t = uint
108
+ rbx.platform.typedef.pid_t = int
109
+ rbx.platform.typedef.rlim_t = ulong_long
110
+ rbx.platform.typedef.segsz_t = int
111
+ rbx.platform.typedef.swblk_t = int
112
+ rbx.platform.typedef.uid_t = uint
113
+ rbx.platform.typedef.useconds_t = uint
114
+ rbx.platform.typedef.suseconds_t = int
115
+ rbx.platform.typedef.in_addr_t = uint
116
+ rbx.platform.typedef.in_port_t = ushort
117
+ rbx.platform.typedef.sa_family_t = uchar
118
+ rbx.platform.typedef.socklen_t = uint
119
+ rbx.platform.typedef.clock_t = int
120
+ rbx.platform.typedef.clockid_t = int
121
+ rbx.platform.typedef.size_t = ulong
122
+ rbx.platform.typedef.ssize_t = long
123
+ rbx.platform.typedef.time_t = int
124
+ rbx.platform.typedef.timer_t = int
125
+ rbx.platform.typedef.off_t = long_long
126
+ rbx.platform.typedef.__fd_mask = int
@@ -0,0 +1,122 @@
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.lgrp_id_t = long
68
+ rbx.platform.typedef.useconds_t = uint
69
+ rbx.platform.typedef.suseconds_t = long
70
+ rbx.platform.typedef.major_t = ulong
71
+ rbx.platform.typedef.minor_t = ulong
72
+ rbx.platform.typedef.pri_t = short
73
+ rbx.platform.typedef.cpu_flag_t = ushort
74
+ rbx.platform.typedef.o_mode_t = ushort
75
+ rbx.platform.typedef.o_dev_t = short
76
+ rbx.platform.typedef.o_uid_t = ushort
77
+ rbx.platform.typedef.o_gid_t = ushort
78
+ rbx.platform.typedef.o_nlink_t = short
79
+ rbx.platform.typedef.o_pid_t = short
80
+ rbx.platform.typedef.o_ino_t = ushort
81
+ rbx.platform.typedef.key_t = int
82
+ rbx.platform.typedef.mode_t = ulong
83
+ rbx.platform.typedef.uid_t = uint
84
+ rbx.platform.typedef.gid_t = uint
85
+ rbx.platform.typedef.datalink_id_t = uint
86
+ rbx.platform.typedef.taskid_t = long
87
+ rbx.platform.typedef.projid_t = long
88
+ rbx.platform.typedef.poolid_t = long
89
+ rbx.platform.typedef.zoneid_t = long
90
+ rbx.platform.typedef.ctid_t = long
91
+ rbx.platform.typedef.pthread_t = uint
92
+ rbx.platform.typedef.pthread_key_t = uint
93
+ rbx.platform.typedef.dev_t = ulong
94
+ rbx.platform.typedef.nlink_t = ulong
95
+ rbx.platform.typedef.pid_t = long
96
+ rbx.platform.typedef.size_t = uint
97
+ rbx.platform.typedef.ssize_t = int
98
+ rbx.platform.typedef.time_t = long
99
+ rbx.platform.typedef.clock_t = long
100
+ rbx.platform.typedef.clockid_t = int
101
+ rbx.platform.typedef.timer_t = int
102
+ rbx.platform.typedef.unchar = uchar
103
+ rbx.platform.typedef.ushort = ushort
104
+ rbx.platform.typedef.uint = uint
105
+ rbx.platform.typedef.ulong = ulong
106
+ rbx.platform.typedef.u_char = uchar
107
+ rbx.platform.typedef.u_short = ushort
108
+ rbx.platform.typedef.u_int = uint
109
+ rbx.platform.typedef.u_long = ulong
110
+ rbx.platform.typedef.hrtime_t = long_long
111
+ rbx.platform.typedef.fd_mask = long
112
+ rbx.platform.typedef.fds_mask = long
113
+ rbx.platform.typedef.sa_family_t = ushort
114
+ rbx.platform.typedef.socklen_t = uint
115
+ rbx.platform.typedef.nfds_t = ulong
116
+ rbx.platform.typedef.disp_lock_t = uchar
117
+ rbx.platform.typedef.model_t = uint
118
+ rbx.platform.typedef.in_port_t = ushort
119
+ rbx.platform.typedef.in_addr_t = uint
120
+ rbx.platform.typedef.ipaddr_t = uint
121
+ rbx.platform.typedef.rlim_t = ulong_long
122
+ rbx.platform.typedef.rlim64_t = ulong_long
@@ -0,0 +1,105 @@
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.__int_least16_t = short
6
+ rbx.platform.typedef.__uint_least16_t = ushort
7
+ rbx.platform.typedef.__int32_t = int
8
+ rbx.platform.typedef.__uint32_t = uint
9
+ rbx.platform.typedef.__int_least32_t = int
10
+ rbx.platform.typedef.__uint_least32_t = uint
11
+ rbx.platform.typedef.__int64_t = long_long
12
+ rbx.platform.typedef.__uint64_t = ulong_long
13
+ rbx.platform.typedef._off_t = long
14
+ rbx.platform.typedef._off64_t = long_long
15
+ rbx.platform.typedef._ssize_t = int
16
+ rbx.platform.typedef.wint_t = uint
17
+ rbx.platform.typedef.ptrdiff_t = int
18
+ rbx.platform.typedef.size_t = uint
19
+ rbx.platform.typedef.__off_t = long
20
+ rbx.platform.typedef.__pid_t = int
21
+ rbx.platform.typedef.__loff_t = long_long
22
+ rbx.platform.typedef.u_char = uchar
23
+ rbx.platform.typedef.u_short = ushort
24
+ rbx.platform.typedef.u_int = uint
25
+ rbx.platform.typedef.u_long = ulong
26
+ rbx.platform.typedef.ushort = ushort
27
+ rbx.platform.typedef.uint = uint
28
+ rbx.platform.typedef.clock_t = ulong
29
+ rbx.platform.typedef.time_t = long
30
+ rbx.platform.typedef.daddr_t = long
31
+ rbx.platform.typedef.caddr_t = string
32
+ rbx.platform.typedef.pid_t = int
33
+ rbx.platform.typedef.ssize_t = int
34
+ rbx.platform.typedef.nlink_t = ushort
35
+ rbx.platform.typedef.fd_mask = long
36
+ rbx.platform.typedef.clockid_t = ulong
37
+ rbx.platform.typedef.timer_t = ulong
38
+ rbx.platform.typedef.useconds_t = ulong
39
+ rbx.platform.typedef.suseconds_t = long
40
+ rbx.platform.typedef.int8_t = char
41
+ rbx.platform.typedef.int16_t = short
42
+ rbx.platform.typedef.int32_t = long
43
+ rbx.platform.typedef.int64_t = long_long
44
+ rbx.platform.typedef.uint8_t = uchar
45
+ rbx.platform.typedef.uint16_t = ushort
46
+ rbx.platform.typedef.uint32_t = ulong
47
+ rbx.platform.typedef.uint64_t = ulong_long
48
+ rbx.platform.typedef.int_least8_t = char
49
+ rbx.platform.typedef.int_least16_t = short
50
+ rbx.platform.typedef.int_least32_t = long
51
+ rbx.platform.typedef.int_least64_t = long_long
52
+ rbx.platform.typedef.uint_least8_t = uchar
53
+ rbx.platform.typedef.uint_least16_t = ushort
54
+ rbx.platform.typedef.uint_least32_t = ulong
55
+ rbx.platform.typedef.uint_least64_t = ulong_long
56
+ rbx.platform.typedef.int_fast8_t = char
57
+ rbx.platform.typedef.int_fast16_t = long
58
+ rbx.platform.typedef.int_fast32_t = long
59
+ rbx.platform.typedef.int_fast64_t = long_long
60
+ rbx.platform.typedef.uint_fast8_t = uchar
61
+ rbx.platform.typedef.uint_fast16_t = ulong
62
+ rbx.platform.typedef.uint_fast32_t = ulong
63
+ rbx.platform.typedef.uint_fast64_t = ulong_long
64
+ rbx.platform.typedef.intptr_t = long
65
+ rbx.platform.typedef.uintptr_t = ulong
66
+ rbx.platform.typedef.intmax_t = long_long
67
+ rbx.platform.typedef.uintmax_t = ulong_long
68
+ rbx.platform.typedef.off_t = long_long
69
+ rbx.platform.typedef.loff_t = long_long
70
+ rbx.platform.typedef.__dev16_t = short
71
+ rbx.platform.typedef.__dev32_t = ulong
72
+ rbx.platform.typedef.dev_t = ulong
73
+ rbx.platform.typedef.blksize_t = long
74
+ rbx.platform.typedef.__blkcnt32_t = long
75
+ rbx.platform.typedef.__blkcnt64_t = long_long
76
+ rbx.platform.typedef.blkcnt_t = long_long
77
+ rbx.platform.typedef.fsblkcnt_t = ulong
78
+ rbx.platform.typedef.fsfilcnt_t = ulong
79
+ rbx.platform.typedef.__uid16_t = ushort
80
+ rbx.platform.typedef.__uid32_t = ulong
81
+ rbx.platform.typedef.uid_t = ulong
82
+ rbx.platform.typedef.__gid16_t = ushort
83
+ rbx.platform.typedef.__gid32_t = ulong
84
+ rbx.platform.typedef.gid_t = ulong
85
+ rbx.platform.typedef.__ino32_t = ulong
86
+ rbx.platform.typedef.__ino64_t = ulong_long
87
+ rbx.platform.typedef.ino_t = ulong_long
88
+ rbx.platform.typedef.id_t = ulong
89
+ rbx.platform.typedef.key_t = long_long
90
+ rbx.platform.typedef.vm_offset_t = ulong
91
+ rbx.platform.typedef.vm_size_t = ulong
92
+ rbx.platform.typedef.u_int8_t = uchar
93
+ rbx.platform.typedef.u_int16_t = ushort
94
+ rbx.platform.typedef.u_int32_t = uint
95
+ rbx.platform.typedef.u_int64_t = ulong_long
96
+ rbx.platform.typedef.register_t = int
97
+ rbx.platform.typedef.*addr_t = char
98
+ rbx.platform.typedef.socklen_t = int
99
+ rbx.platform.typedef.sa_family_t = ushort
100
+ rbx.platform.typedef.__ULong = ulong
101
+ rbx.platform.typedef._fpos_t = long
102
+ rbx.platform.typedef._fpos64_t = long_long
103
+ rbx.platform.typedef.sigset_t = ulong
104
+ rbx.platform.typedef.sig_atomic_t = int
105
+ rbx.platform.typedef.rlim_t = ulong
@@ -0,0 +1,180 @@
1
+ rbx.platform.typedef.int8_t = char
2
+ rbx.platform.typedef.int16_t = short
3
+ rbx.platform.typedef.int32_t = int
4
+ rbx.platform.typedef.int64_t = long_long
5
+ rbx.platform.typedef.uint8_t = uchar
6
+ rbx.platform.typedef.uint16_t = ushort
7
+ rbx.platform.typedef.uint32_t = uint
8
+ rbx.platform.typedef.uint64_t = ulong_long
9
+ rbx.platform.typedef.intmax_t = long_long
10
+ rbx.platform.typedef.uintmax_t = ulong_long
11
+ rbx.platform.typedef.intptr_t = long
12
+ rbx.platform.typedef.uintptr_t = ulong
13
+ rbx.platform.typedef.int_least8_t = char
14
+ rbx.platform.typedef.int_least16_t = short
15
+ rbx.platform.typedef.int_least32_t = int
16
+ rbx.platform.typedef.int_least64_t = long_long
17
+ rbx.platform.typedef.uint_least8_t = uchar
18
+ rbx.platform.typedef.uint_least16_t = ushort
19
+ rbx.platform.typedef.uint_least32_t = uint
20
+ rbx.platform.typedef.uint_least64_t = ulong_long
21
+ rbx.platform.typedef.int_fast8_t = char
22
+ rbx.platform.typedef.int_fast16_t = short
23
+ rbx.platform.typedef.int_fast32_t = int
24
+ rbx.platform.typedef.uint_fast8_t = uchar
25
+ rbx.platform.typedef.uint_fast16_t = ushort
26
+ rbx.platform.typedef.uint_fast32_t = uint
27
+ rbx.platform.typedef.int_fast64_t = long_long
28
+ rbx.platform.typedef.uint_fast64_t = ulong_long
29
+ rbx.platform.typedef.wchar_t = ushort
30
+ rbx.platform.typedef.intfast_t = int
31
+ rbx.platform.typedef.uintfast_t = uint
32
+ rbx.platform.typedef.__long32_t = long
33
+ rbx.platform.typedef.__ulong32_t = ulong
34
+ rbx.platform.typedef.__long64_t = int
35
+ rbx.platform.typedef.__ulong64_t = uint
36
+ rbx.platform.typedef.int32long64_t = int
37
+ rbx.platform.typedef.uint32long64_t = uint
38
+ rbx.platform.typedef.long32int64_t = long
39
+ rbx.platform.typedef.ulong32int64_t = ulong
40
+ rbx.platform.typedef.int8 = char
41
+ rbx.platform.typedef.int16 = short
42
+ rbx.platform.typedef.int32 = int
43
+ rbx.platform.typedef.int64 = long_long
44
+ rbx.platform.typedef.u_int8 = uchar
45
+ rbx.platform.typedef.u_int8_t = uchar
46
+ rbx.platform.typedef.u_int16 = ushort
47
+ rbx.platform.typedef.u_int16_t = ushort
48
+ rbx.platform.typedef.u_int32 = uint
49
+ rbx.platform.typedef.u_int32_t = uint
50
+ rbx.platform.typedef.u_int64 = ulong_long
51
+ rbx.platform.typedef.u_int64_t = ulong_long
52
+ rbx.platform.typedef.ptrdiff_t = long
53
+ rbx.platform.typedef.wctype_t = uint
54
+ rbx.platform.typedef.fpos_t = long
55
+ rbx.platform.typedef.fpos64_t = long_long
56
+ rbx.platform.typedef.time_t = int
57
+ rbx.platform.typedef.clock_t = int
58
+ rbx.platform.typedef.size_t = ulong
59
+ rbx.platform.typedef.uchar_t = uchar
60
+ rbx.platform.typedef.ushort_t = ushort
61
+ rbx.platform.typedef.uint_t = uint
62
+ rbx.platform.typedef.ulong_t = ulong
63
+ rbx.platform.typedef.ssize_t = long
64
+ rbx.platform.typedef.level_t = int
65
+ rbx.platform.typedef.daddr_t = int
66
+ rbx.platform.typedef.daddr32_t = int
67
+ rbx.platform.typedef.daddr64_t = long_long
68
+ rbx.platform.typedef.caddr_t = string
69
+ rbx.platform.typedef.ino_t = uint
70
+ rbx.platform.typedef.ino32_t = uint
71
+ rbx.platform.typedef.ino64_t = ulong_long
72
+ rbx.platform.typedef.cnt_t = short
73
+ rbx.platform.typedef.dev_t = uint
74
+ rbx.platform.typedef.dev32_t = uint
75
+ rbx.platform.typedef.dev64_t = ulong_long
76
+ rbx.platform.typedef.chan_t = int
77
+ rbx.platform.typedef.time32_t = int
78
+ rbx.platform.typedef.pid32_t = int
79
+ rbx.platform.typedef.tid32_t = int
80
+ rbx.platform.typedef.pid64_t = ulong_long
81
+ rbx.platform.typedef.tid64_t = ulong_long
82
+ rbx.platform.typedef.time64_t = long_long
83
+ rbx.platform.typedef.__ptr32 = pointer
84
+ rbx.platform.typedef.__cptr32 = string
85
+ rbx.platform.typedef.soff_t = int
86
+ rbx.platform.typedef.off_t = long
87
+ rbx.platform.typedef.off64_t = long_long
88
+ rbx.platform.typedef.paddr_t = long
89
+ rbx.platform.typedef.key_t = int
90
+ rbx.platform.typedef.timer_t = int
91
+ rbx.platform.typedef.timer32_t = int
92
+ rbx.platform.typedef.timer64_t = long_long
93
+ rbx.platform.typedef.nlink_t = short
94
+ rbx.platform.typedef.mode_t = uint
95
+ rbx.platform.typedef.uid_t = uint
96
+ rbx.platform.typedef.gid_t = uint
97
+ rbx.platform.typedef.mid_t = pointer
98
+ rbx.platform.typedef.pid_t = int
99
+ rbx.platform.typedef.tid_t = int
100
+ rbx.platform.typedef.slab_t[12] = char
101
+ rbx.platform.typedef.mtyp_t = long
102
+ rbx.platform.typedef.boolean_t = int
103
+ rbx.platform.typedef.crid_t = int
104
+ rbx.platform.typedef.blkcnt_t = int
105
+ rbx.platform.typedef.blksize_t = int
106
+ rbx.platform.typedef.blkcnt32_t = int
107
+ rbx.platform.typedef.blksize32_t = int
108
+ rbx.platform.typedef.blkcnt64_t = ulong_long
109
+ rbx.platform.typedef.blksize64_t = ulong_long
110
+ rbx.platform.typedef.fsblkcnt_t = ulong
111
+ rbx.platform.typedef.fsfilcnt_t = ulong
112
+ rbx.platform.typedef.wint_t = int
113
+ rbx.platform.typedef.id_t = uint
114
+ rbx.platform.typedef.useconds_t = uint
115
+ rbx.platform.typedef.suseconds_t = int
116
+ rbx.platform.typedef.clockid_t = long_long
117
+ rbx.platform.typedef.signal_t = int
118
+ rbx.platform.typedef.pthread_t = uint
119
+ rbx.platform.typedef.pthread_key_t = uint
120
+ rbx.platform.typedef.vmid_t = long
121
+ rbx.platform.typedef.vmhandle_t = ulong
122
+ rbx.platform.typedef.vmid32_t = int
123
+ rbx.platform.typedef.vmhandle32_t = uint
124
+ rbx.platform.typedef.kvmid_t = long
125
+ rbx.platform.typedef.kvmhandle_t = ulong
126
+ rbx.platform.typedef.vmid64_t = long_long
127
+ rbx.platform.typedef.rpn64_t = long_long
128
+ rbx.platform.typedef.cnt64_t = long_long
129
+ rbx.platform.typedef.psize_t = long_long
130
+ rbx.platform.typedef.vmidx_t = int
131
+ rbx.platform.typedef.vmfkey_t = uint
132
+ rbx.platform.typedef.vmprkey_t = uint
133
+ rbx.platform.typedef.vmkey_t = int
134
+ rbx.platform.typedef.vmhwkey_t = int
135
+ rbx.platform.typedef.vpn_t = int
136
+ rbx.platform.typedef.rpn_t = int
137
+ rbx.platform.typedef.ptex_t = ulong
138
+ rbx.platform.typedef.swhatx_t = ulong
139
+ rbx.platform.typedef.esid_t = uint
140
+ rbx.platform.typedef.aptx_t = ushort
141
+ rbx.platform.typedef.pdtx_t = int
142
+ rbx.platform.typedef.psx_t = short
143
+ rbx.platform.typedef.pshift_t = ushort
144
+ rbx.platform.typedef.sshift_t = ushort
145
+ rbx.platform.typedef.unidx_t = int
146
+ rbx.platform.typedef.snidx_t = int
147
+ rbx.platform.typedef.vmnodeidx_t = int
148
+ rbx.platform.typedef.kvpn_t = int
149
+ rbx.platform.typedef.krpn_t = int
150
+ rbx.platform.typedef.vmsize_t = int
151
+ rbx.platform.typedef.vmm_lock_t = int
152
+ rbx.platform.typedef.ureg_t = ulong
153
+ rbx.platform.typedef.vmlpghandle_t = ulong
154
+ rbx.platform.typedef.ext_t = int
155
+ rbx.platform.typedef.va_list = string
156
+ rbx.platform.typedef.__ptr64 = ulong_long
157
+ rbx.platform.typedef.__cptr64 = ulong_long
158
+ rbx.platform.typedef.UniChar = ushort
159
+ rbx.platform.typedef.UTF32Char = uint
160
+ rbx.platform.typedef.uchar = uchar
161
+ rbx.platform.typedef.ushort = ushort
162
+ rbx.platform.typedef.uint = uint
163
+ rbx.platform.typedef.ulong = ulong
164
+ rbx.platform.typedef.u_char = uchar
165
+ rbx.platform.typedef.u_short = ushort
166
+ rbx.platform.typedef.u_int = uint
167
+ rbx.platform.typedef.u_long = ulong
168
+ rbx.platform.typedef.swblk_t = int
169
+ rbx.platform.typedef.offset_t = long_long
170
+ rbx.platform.typedef.ssize64_t = long_long
171
+ rbx.platform.typedef.longlong_t = long_long
172
+ rbx.platform.typedef.u_longlong_t = ulong_long
173
+ rbx.platform.typedef.class_id_t = uint
174
+ rbx.platform.typedef.liobn_t = uint
175
+ rbx.platform.typedef.unit_addr_t = ulong_long
176
+ rbx.platform.typedef.size64_t = ulong_long
177
+ rbx.platform.typedef.socklen_t = ulong
178
+ rbx.platform.typedef.sa_family_t = uchar
179
+ rbx.platform.typedef.rlim_t = ulong
180
+ rbx.platform.typedef.rlim64_t = ulong_long