ffi 1.12.2 → 1.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +132 -0
- data/Gemfile +1 -2
- data/README.md +14 -2
- data/Rakefile +46 -65
- data/ext/ffi_c/AbstractMemory.c +24 -25
- data/ext/ffi_c/Buffer.c +4 -9
- data/ext/ffi_c/Call.c +3 -15
- data/ext/ffi_c/ClosurePool.c +75 -25
- data/ext/ffi_c/ClosurePool.h +3 -1
- data/ext/ffi_c/DynamicLibrary.c +1 -6
- data/ext/ffi_c/Function.c +38 -38
- data/ext/ffi_c/Function.h +0 -4
- data/ext/ffi_c/FunctionInfo.c +3 -8
- data/ext/ffi_c/LastError.c +2 -6
- data/ext/ffi_c/LongDouble.c +5 -3
- data/ext/ffi_c/LongDouble.h +0 -4
- data/ext/ffi_c/MemoryPointer.c +3 -8
- data/ext/ffi_c/MemoryPointer.h +0 -4
- data/ext/ffi_c/MethodHandle.c +21 -31
- data/ext/ffi_c/MethodHandle.h +3 -2
- data/ext/ffi_c/Platform.c +3 -7
- data/ext/ffi_c/Pointer.c +25 -26
- data/ext/ffi_c/Pointer.h +0 -4
- data/ext/ffi_c/Struct.c +3 -6
- data/ext/ffi_c/StructByValue.c +2 -7
- data/ext/ffi_c/StructLayout.c +9 -8
- data/ext/ffi_c/Thread.c +0 -8
- data/ext/ffi_c/Thread.h +1 -9
- data/ext/ffi_c/Type.c +1 -1
- data/ext/ffi_c/Types.c +6 -7
- data/ext/ffi_c/Types.h +3 -4
- data/ext/ffi_c/Variadic.c +14 -9
- data/ext/ffi_c/compat.h +4 -0
- data/ext/ffi_c/extconf.rb +36 -23
- data/ext/ffi_c/libffi/.travis.yml +4 -0
- data/ext/ffi_c/libffi/.travis/bfin-sim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/build.sh +4 -0
- data/ext/ffi_c/libffi/.travis/m32r-sim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/moxie-sim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/or1k-sim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/wine-sim.exp +1 -1
- data/ext/ffi_c/libffi/Makefile.am +49 -58
- data/ext/ffi_c/libffi/Makefile.in +93 -58
- data/ext/ffi_c/libffi/README.md +11 -1
- data/ext/ffi_c/libffi/config.guess +552 -331
- data/ext/ffi_c/libffi/config.sub +1321 -1306
- data/ext/ffi_c/libffi/configure +120 -24
- data/ext/ffi_c/libffi/configure.ac +31 -10
- data/ext/ffi_c/libffi/configure.host +32 -20
- data/ext/ffi_c/libffi/fficonfig.h.in +9 -0
- data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +1 -1
- data/ext/ffi_c/libffi/include/ffi.h.in +8 -0
- data/ext/ffi_c/libffi/libffi.map.in +8 -12
- data/ext/ffi_c/libffi/libtool-version +1 -1
- data/ext/ffi_c/libffi/ltmain.sh +6 -4
- data/ext/ffi_c/libffi/msvcc.sh +11 -11
- data/ext/ffi_c/libffi/src/aarch64/ffi.c +51 -35
- data/ext/ffi_c/libffi/src/aarch64/ffitarget.h +10 -5
- data/ext/ffi_c/libffi/src/aarch64/internal.h +1 -0
- data/ext/ffi_c/libffi/src/aarch64/sysv.S +14 -3
- data/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +1 -1
- data/ext/ffi_c/libffi/src/arm/ffi.c +22 -0
- data/ext/ffi_c/libffi/src/arm/sysv.S +4 -4
- data/ext/ffi_c/libffi/src/closures.c +33 -10
- data/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/ext/ffi_c/libffi/src/dlmalloc.c +1 -1
- data/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/ext/ffi_c/libffi/src/mips/ffi.c +5 -1
- data/ext/ffi_c/libffi/src/mips/ffitarget.h +1 -1
- data/ext/ffi_c/libffi/src/pa/ffi.c +46 -91
- data/ext/ffi_c/libffi/src/pa/ffitarget.h +1 -6
- data/ext/ffi_c/libffi/src/pa/hpux32.S +4 -2
- data/ext/ffi_c/libffi/src/pa/linux.S +4 -2
- data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +13 -1
- data/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +1 -1
- data/ext/ffi_c/libffi/src/powerpc/linux64.S +8 -0
- data/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +13 -1
- data/ext/ffi_c/libffi/src/powerpc/sysv.S +5 -7
- data/ext/ffi_c/libffi/src/prep_cif.c +1 -1
- data/ext/ffi_c/libffi/src/x86/ffi.c +15 -6
- data/ext/ffi_c/libffi/src/x86/ffi64.c +17 -8
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -2
- data/ext/ffi_c/libffi/src/x86/ffiw64.c +15 -8
- data/ext/ffi_c/libffi/src/x86/sysv.S +15 -6
- data/ext/ffi_c/libffi/src/x86/unix64.S +59 -4
- data/ext/ffi_c/libffi/src/x86/win64.S +7 -3
- data/ext/ffi_c/libffi/src/x86/win64_intel.S +3 -2
- data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +22 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +4 -4
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +2 -0
- data/ffi.gemspec +2 -2
- data/lib/ffi.rb +10 -3
- data/lib/ffi/abstract_memory.rb +44 -0
- data/lib/ffi/autopointer.rb +1 -1
- data/lib/ffi/ffi.rb +1 -0
- data/lib/ffi/io.rb +3 -3
- data/lib/ffi/library.rb +7 -3
- data/lib/ffi/managedstruct.rb +2 -2
- data/lib/ffi/platform.rb +18 -8
- data/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/lib/ffi/platform/aarch64-freebsd/types.conf +2 -2
- data/lib/ffi/platform/aarch64-freebsd12/types.conf +113 -60
- data/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/lib/ffi/platform/arm-linux/types.conf +32 -4
- data/lib/ffi/platform/i386-windows/types.conf +26 -79
- data/lib/ffi/platform/powerpc-linux/types.conf +32 -2
- data/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/lib/ffi/platform/x86_64-darwin/types.conf +4 -0
- data/lib/ffi/platform/x86_64-dragonflybsd/types.conf +4 -22
- data/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/lib/ffi/platform/x86_64-linux/types.conf +21 -0
- data/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/lib/ffi/platform/x86_64-windows/types.conf +10 -78
- data/lib/ffi/pointer.rb +21 -14
- data/lib/ffi/struct.rb +8 -2
- data/lib/ffi/tools/const_generator.rb +2 -1
- data/lib/ffi/tools/struct_generator.rb +2 -1
- data/lib/ffi/tools/types_generator.rb +2 -0
- data/lib/ffi/variadic.rb +1 -10
- data/lib/ffi/version.rb +1 -1
- data/rakelib/ffi_gem_helper.rb +65 -0
- data/samples/getlogin.rb +1 -1
- data/samples/getpid.rb +1 -1
- data/samples/gettimeofday.rb +8 -8
- data/samples/hello.rb +2 -1
- data/samples/inotify.rb +1 -1
- data/samples/pty.rb +1 -2
- data/samples/qsort.rb +0 -1
- metadata +21 -12
- data/.appveyor.yml +0 -27
- data/.gitignore +0 -25
- data/.gitmodules +0 -4
- data/.travis.yml +0 -44
- data/.yardopts +0 -5
- data/ext/ffi_c/win32/stdbool.h +0 -8
- data/ext/ffi_c/win32/stdint.h +0 -201
- data/samples/sample_helper.rb +0 -6
@@ -39,9 +39,9 @@ rbx.platform.typedef.__segsz_t = int
|
|
39
39
|
rbx.platform.typedef.__size_t = ulong
|
40
40
|
rbx.platform.typedef.__socklen_t = uint
|
41
41
|
rbx.platform.typedef.__ssize_t = long
|
42
|
-
rbx.platform.typedef.__suseconds_t =
|
42
|
+
rbx.platform.typedef.__suseconds_t = long
|
43
43
|
rbx.platform.typedef.__swblk_t = int
|
44
|
-
rbx.platform.typedef.__time_t =
|
44
|
+
rbx.platform.typedef.__time_t = long
|
45
45
|
rbx.platform.typedef.__timer_t = int
|
46
46
|
rbx.platform.typedef.__uid_t = uint
|
47
47
|
rbx.platform.typedef.__uint16_t = ushort
|
@@ -1,128 +1,181 @@
|
|
1
|
+
rbx.platform.typedef.*) = pointer
|
2
|
+
rbx.platform.typedef.___wchar_t = uint
|
3
|
+
rbx.platform.typedef.__accmode_t = int
|
4
|
+
rbx.platform.typedef.__blkcnt_t = long
|
5
|
+
rbx.platform.typedef.__blksize_t = int
|
6
|
+
rbx.platform.typedef.__char16_t = ushort
|
7
|
+
rbx.platform.typedef.__char32_t = uint
|
1
8
|
rbx.platform.typedef.__clock_t = int
|
2
9
|
rbx.platform.typedef.__clockid_t = int
|
3
|
-
rbx.platform.typedef.
|
4
|
-
rbx.platform.typedef.
|
5
|
-
rbx.platform.typedef.
|
10
|
+
rbx.platform.typedef.__cpulevel_t = int
|
11
|
+
rbx.platform.typedef.__cpusetid_t = int
|
12
|
+
rbx.platform.typedef.__cpuwhich_t = int
|
13
|
+
rbx.platform.typedef.__critical_t = long
|
14
|
+
rbx.platform.typedef.__ct_rune_t = int
|
15
|
+
rbx.platform.typedef.__daddr_t = long
|
16
|
+
rbx.platform.typedef.__dev_t = ulong
|
17
|
+
rbx.platform.typedef.__fd_mask = ulong
|
18
|
+
rbx.platform.typedef.__fflags_t = uint
|
6
19
|
rbx.platform.typedef.__fixpt_t = uint
|
20
|
+
rbx.platform.typedef.__fsblkcnt_t = ulong
|
21
|
+
rbx.platform.typedef.__fsfilcnt_t = ulong
|
7
22
|
rbx.platform.typedef.__gid_t = uint
|
8
|
-
rbx.platform.typedef.__id_t =
|
9
|
-
rbx.platform.typedef.
|
10
|
-
rbx.platform.typedef.__in_port_t = ushort
|
11
|
-
rbx.platform.typedef.__ino_t = ulong_long
|
23
|
+
rbx.platform.typedef.__id_t = long
|
24
|
+
rbx.platform.typedef.__ino_t = ulong
|
12
25
|
rbx.platform.typedef.__int16_t = short
|
13
26
|
rbx.platform.typedef.__int32_t = int
|
14
|
-
rbx.platform.typedef.__int64_t =
|
27
|
+
rbx.platform.typedef.__int64_t = long
|
15
28
|
rbx.platform.typedef.__int8_t = char
|
16
29
|
rbx.platform.typedef.__int_fast16_t = int
|
17
30
|
rbx.platform.typedef.__int_fast32_t = int
|
18
|
-
rbx.platform.typedef.__int_fast64_t =
|
31
|
+
rbx.platform.typedef.__int_fast64_t = long
|
19
32
|
rbx.platform.typedef.__int_fast8_t = int
|
20
33
|
rbx.platform.typedef.__int_least16_t = short
|
21
34
|
rbx.platform.typedef.__int_least32_t = int
|
22
|
-
rbx.platform.typedef.__int_least64_t =
|
35
|
+
rbx.platform.typedef.__int_least64_t = long
|
23
36
|
rbx.platform.typedef.__int_least8_t = char
|
24
|
-
rbx.platform.typedef.
|
37
|
+
rbx.platform.typedef.__intfptr_t = long
|
38
|
+
rbx.platform.typedef.__intmax_t = long
|
25
39
|
rbx.platform.typedef.__intptr_t = long
|
26
40
|
rbx.platform.typedef.__key_t = long
|
27
|
-
rbx.platform.typedef.
|
28
|
-
rbx.platform.typedef.
|
29
|
-
rbx.platform.typedef.
|
30
|
-
rbx.platform.typedef.
|
41
|
+
rbx.platform.typedef.__lwpid_t = int
|
42
|
+
rbx.platform.typedef.__mode_t = ushort
|
43
|
+
rbx.platform.typedef.__nl_item = int
|
44
|
+
rbx.platform.typedef.__nlink_t = ulong
|
45
|
+
rbx.platform.typedef.__off64_t = long
|
46
|
+
rbx.platform.typedef.__off_t = long
|
31
47
|
rbx.platform.typedef.__pid_t = int
|
32
|
-
rbx.platform.typedef.__psize_t = ulong
|
33
48
|
rbx.platform.typedef.__ptrdiff_t = long
|
34
|
-
rbx.platform.typedef.__register_t =
|
35
|
-
rbx.platform.typedef.__rlim_t =
|
49
|
+
rbx.platform.typedef.__register_t = long
|
50
|
+
rbx.platform.typedef.__rlim_t = long
|
51
|
+
rbx.platform.typedef.__rman_res_t = ulong
|
36
52
|
rbx.platform.typedef.__rune_t = int
|
37
53
|
rbx.platform.typedef.__sa_family_t = uchar
|
38
|
-
rbx.platform.typedef.__segsz_t =
|
54
|
+
rbx.platform.typedef.__segsz_t = long
|
39
55
|
rbx.platform.typedef.__size_t = ulong
|
40
56
|
rbx.platform.typedef.__socklen_t = uint
|
41
57
|
rbx.platform.typedef.__ssize_t = long
|
42
|
-
rbx.platform.typedef.__suseconds_t =
|
43
|
-
rbx.platform.typedef.
|
44
|
-
rbx.platform.typedef.
|
45
|
-
rbx.platform.typedef.__timer_t = int
|
58
|
+
rbx.platform.typedef.__suseconds_t = long
|
59
|
+
rbx.platform.typedef.__time_t = long
|
60
|
+
rbx.platform.typedef.__u_register_t = ulong
|
46
61
|
rbx.platform.typedef.__uid_t = uint
|
47
62
|
rbx.platform.typedef.__uint16_t = ushort
|
48
63
|
rbx.platform.typedef.__uint32_t = uint
|
49
|
-
rbx.platform.typedef.__uint64_t =
|
64
|
+
rbx.platform.typedef.__uint64_t = ulong
|
50
65
|
rbx.platform.typedef.__uint8_t = uchar
|
51
66
|
rbx.platform.typedef.__uint_fast16_t = uint
|
52
67
|
rbx.platform.typedef.__uint_fast32_t = uint
|
53
|
-
rbx.platform.typedef.__uint_fast64_t =
|
68
|
+
rbx.platform.typedef.__uint_fast64_t = ulong
|
54
69
|
rbx.platform.typedef.__uint_fast8_t = uint
|
55
70
|
rbx.platform.typedef.__uint_least16_t = ushort
|
56
71
|
rbx.platform.typedef.__uint_least32_t = uint
|
57
|
-
rbx.platform.typedef.__uint_least64_t =
|
72
|
+
rbx.platform.typedef.__uint_least64_t = ulong
|
58
73
|
rbx.platform.typedef.__uint_least8_t = uchar
|
59
|
-
rbx.platform.typedef.
|
74
|
+
rbx.platform.typedef.__uintfptr_t = ulong
|
75
|
+
rbx.platform.typedef.__uintmax_t = ulong
|
60
76
|
rbx.platform.typedef.__uintptr_t = ulong
|
61
77
|
rbx.platform.typedef.__useconds_t = uint
|
62
|
-
rbx.platform.typedef.
|
63
|
-
rbx.platform.typedef.
|
64
|
-
rbx.platform.typedef.
|
65
|
-
rbx.platform.typedef.__wctrans_t = pointer
|
66
|
-
rbx.platform.typedef.__wctype_t = pointer
|
78
|
+
rbx.platform.typedef.__vm_offset_t = ulong
|
79
|
+
rbx.platform.typedef.__vm_paddr_t = ulong
|
80
|
+
rbx.platform.typedef.__vm_size_t = ulong
|
67
81
|
rbx.platform.typedef.__wint_t = int
|
82
|
+
rbx.platform.typedef.accmode_t = int
|
83
|
+
rbx.platform.typedef.blkcnt_t = long
|
84
|
+
rbx.platform.typedef.blksize_t = int
|
85
|
+
rbx.platform.typedef.c_caddr_t = pointer
|
68
86
|
rbx.platform.typedef.caddr_t = string
|
87
|
+
rbx.platform.typedef.cap_ioctl_t = ulong
|
69
88
|
rbx.platform.typedef.clock_t = int
|
70
89
|
rbx.platform.typedef.clockid_t = int
|
71
|
-
rbx.platform.typedef.
|
72
|
-
rbx.platform.typedef.
|
73
|
-
rbx.platform.typedef.
|
74
|
-
rbx.platform.typedef.
|
75
|
-
rbx.platform.typedef.
|
90
|
+
rbx.platform.typedef.cpulevel_t = int
|
91
|
+
rbx.platform.typedef.cpusetid_t = int
|
92
|
+
rbx.platform.typedef.cpuwhich_t = int
|
93
|
+
rbx.platform.typedef.critical_t = long
|
94
|
+
rbx.platform.typedef.daddr_t = long
|
95
|
+
rbx.platform.typedef.dev_t = ulong
|
96
|
+
rbx.platform.typedef.fd_mask = ulong
|
97
|
+
rbx.platform.typedef.fflags_t = uint
|
76
98
|
rbx.platform.typedef.fixpt_t = uint
|
99
|
+
rbx.platform.typedef.fsblkcnt_t = ulong
|
100
|
+
rbx.platform.typedef.fsfilcnt_t = ulong
|
77
101
|
rbx.platform.typedef.gid_t = uint
|
78
|
-
rbx.platform.typedef.id_t =
|
102
|
+
rbx.platform.typedef.id_t = long
|
79
103
|
rbx.platform.typedef.in_addr_t = uint
|
80
104
|
rbx.platform.typedef.in_port_t = ushort
|
81
|
-
rbx.platform.typedef.ino_t =
|
105
|
+
rbx.platform.typedef.ino_t = ulong
|
82
106
|
rbx.platform.typedef.int16_t = short
|
83
107
|
rbx.platform.typedef.int32_t = int
|
84
|
-
rbx.platform.typedef.int64_t =
|
108
|
+
rbx.platform.typedef.int64_t = long
|
85
109
|
rbx.platform.typedef.int8_t = char
|
110
|
+
rbx.platform.typedef.int_fast16_t = int
|
111
|
+
rbx.platform.typedef.int_fast32_t = int
|
112
|
+
rbx.platform.typedef.int_fast64_t = long
|
113
|
+
rbx.platform.typedef.int_fast8_t = int
|
114
|
+
rbx.platform.typedef.int_least16_t = short
|
115
|
+
rbx.platform.typedef.int_least32_t = int
|
116
|
+
rbx.platform.typedef.int_least64_t = long
|
117
|
+
rbx.platform.typedef.int_least8_t = char
|
118
|
+
rbx.platform.typedef.intmax_t = long
|
86
119
|
rbx.platform.typedef.intptr_t = long
|
87
120
|
rbx.platform.typedef.key_t = long
|
88
|
-
rbx.platform.typedef.
|
89
|
-
rbx.platform.typedef.
|
90
|
-
rbx.platform.typedef.
|
91
|
-
rbx.platform.typedef.
|
121
|
+
rbx.platform.typedef.kpaddr_t = ulong
|
122
|
+
rbx.platform.typedef.ksize_t = ulong
|
123
|
+
rbx.platform.typedef.kssize_t = long
|
124
|
+
rbx.platform.typedef.kvaddr_t = ulong
|
125
|
+
rbx.platform.typedef.lwpid_t = int
|
126
|
+
rbx.platform.typedef.mode_t = ushort
|
127
|
+
rbx.platform.typedef.nlink_t = ulong
|
128
|
+
rbx.platform.typedef.off64_t = long
|
129
|
+
rbx.platform.typedef.off_t = long
|
92
130
|
rbx.platform.typedef.pid_t = int
|
93
|
-
rbx.platform.typedef.
|
131
|
+
rbx.platform.typedef.pthread_key_t = int
|
132
|
+
rbx.platform.typedef.ptrdiff_t = long
|
94
133
|
rbx.platform.typedef.qaddr_t = pointer
|
95
|
-
rbx.platform.typedef.quad_t =
|
96
|
-
rbx.platform.typedef.register_t =
|
97
|
-
rbx.platform.typedef.rlim_t =
|
134
|
+
rbx.platform.typedef.quad_t = long
|
135
|
+
rbx.platform.typedef.register_t = long
|
136
|
+
rbx.platform.typedef.rlim_t = long
|
137
|
+
rbx.platform.typedef.rman_res_t = ulong
|
138
|
+
rbx.platform.typedef.rsize_t = ulong
|
139
|
+
rbx.platform.typedef.rune_t = int
|
98
140
|
rbx.platform.typedef.sa_family_t = uchar
|
99
|
-
rbx.platform.typedef.
|
141
|
+
rbx.platform.typedef.sbintime_t = long
|
142
|
+
rbx.platform.typedef.segsz_t = long
|
100
143
|
rbx.platform.typedef.size_t = ulong
|
101
144
|
rbx.platform.typedef.socklen_t = uint
|
102
145
|
rbx.platform.typedef.ssize_t = long
|
103
|
-
rbx.platform.typedef.suseconds_t =
|
104
|
-
rbx.platform.typedef.
|
105
|
-
rbx.platform.typedef.time_t = int
|
106
|
-
rbx.platform.typedef.timer_t = int
|
146
|
+
rbx.platform.typedef.suseconds_t = long
|
147
|
+
rbx.platform.typedef.time_t = long
|
107
148
|
rbx.platform.typedef.u_char = uchar
|
108
149
|
rbx.platform.typedef.u_int = uint
|
109
150
|
rbx.platform.typedef.u_int16_t = ushort
|
110
151
|
rbx.platform.typedef.u_int32_t = uint
|
111
|
-
rbx.platform.typedef.u_int64_t =
|
152
|
+
rbx.platform.typedef.u_int64_t = ulong
|
112
153
|
rbx.platform.typedef.u_int8_t = uchar
|
113
154
|
rbx.platform.typedef.u_long = ulong
|
114
|
-
rbx.platform.typedef.u_quad_t =
|
155
|
+
rbx.platform.typedef.u_quad_t = ulong
|
156
|
+
rbx.platform.typedef.u_register_t = ulong
|
115
157
|
rbx.platform.typedef.u_short = ushort
|
116
158
|
rbx.platform.typedef.uid_t = uint
|
117
159
|
rbx.platform.typedef.uint = uint
|
118
160
|
rbx.platform.typedef.uint16_t = ushort
|
119
161
|
rbx.platform.typedef.uint32_t = uint
|
120
|
-
rbx.platform.typedef.uint64_t =
|
162
|
+
rbx.platform.typedef.uint64_t = ulong
|
121
163
|
rbx.platform.typedef.uint8_t = uchar
|
164
|
+
rbx.platform.typedef.uint_fast16_t = uint
|
165
|
+
rbx.platform.typedef.uint_fast32_t = uint
|
166
|
+
rbx.platform.typedef.uint_fast64_t = ulong
|
167
|
+
rbx.platform.typedef.uint_fast8_t = uint
|
168
|
+
rbx.platform.typedef.uint_least16_t = ushort
|
169
|
+
rbx.platform.typedef.uint_least32_t = uint
|
170
|
+
rbx.platform.typedef.uint_least64_t = ulong
|
171
|
+
rbx.platform.typedef.uint_least8_t = uchar
|
172
|
+
rbx.platform.typedef.uintmax_t = ulong
|
122
173
|
rbx.platform.typedef.uintptr_t = ulong
|
123
|
-
rbx.platform.typedef.ulong = ulong
|
124
|
-
rbx.platform.typedef.unchar = uchar
|
125
174
|
rbx.platform.typedef.useconds_t = uint
|
126
175
|
rbx.platform.typedef.ushort = ushort
|
127
|
-
rbx.platform.typedef.
|
128
|
-
rbx.platform.typedef.
|
176
|
+
rbx.platform.typedef.vm_offset_t = ulong
|
177
|
+
rbx.platform.typedef.vm_ooffset_t = ulong
|
178
|
+
rbx.platform.typedef.vm_paddr_t = ulong
|
179
|
+
rbx.platform.typedef.vm_pindex_t = ulong
|
180
|
+
rbx.platform.typedef.vm_size_t = ulong
|
181
|
+
rbx.platform.typedef.wchar_t = uint
|
@@ -0,0 +1,134 @@
|
|
1
|
+
rbx.platform.typedef.__blkcnt_t = long_long
|
2
|
+
rbx.platform.typedef.__blksize_t = int
|
3
|
+
rbx.platform.typedef.__clock_t = long_long
|
4
|
+
rbx.platform.typedef.__clockid_t = int
|
5
|
+
rbx.platform.typedef.__cpuid_t = ulong
|
6
|
+
rbx.platform.typedef.__dev_t = int
|
7
|
+
rbx.platform.typedef.__fd_mask = uint
|
8
|
+
rbx.platform.typedef.__fixpt_t = uint
|
9
|
+
rbx.platform.typedef.__fsblkcnt_t = ulong_long
|
10
|
+
rbx.platform.typedef.__fsfilcnt_t = ulong_long
|
11
|
+
rbx.platform.typedef.__gid_t = uint
|
12
|
+
rbx.platform.typedef.__id_t = uint
|
13
|
+
rbx.platform.typedef.__in_addr_t = uint
|
14
|
+
rbx.platform.typedef.__in_port_t = ushort
|
15
|
+
rbx.platform.typedef.__ino_t = ulong_long
|
16
|
+
rbx.platform.typedef.__int16_t = short
|
17
|
+
rbx.platform.typedef.__int32_t = int
|
18
|
+
rbx.platform.typedef.__int64_t = long_long
|
19
|
+
rbx.platform.typedef.__int8_t = char
|
20
|
+
rbx.platform.typedef.__int_fast16_t = int
|
21
|
+
rbx.platform.typedef.__int_fast32_t = int
|
22
|
+
rbx.platform.typedef.__int_fast64_t = long_long
|
23
|
+
rbx.platform.typedef.__int_fast8_t = int
|
24
|
+
rbx.platform.typedef.__int_least16_t = short
|
25
|
+
rbx.platform.typedef.__int_least32_t = int
|
26
|
+
rbx.platform.typedef.__int_least64_t = long_long
|
27
|
+
rbx.platform.typedef.__int_least8_t = char
|
28
|
+
rbx.platform.typedef.__intmax_t = long_long
|
29
|
+
rbx.platform.typedef.__intptr_t = long
|
30
|
+
rbx.platform.typedef.__key_t = long
|
31
|
+
rbx.platform.typedef.__mode_t = uint
|
32
|
+
rbx.platform.typedef.__nlink_t = uint
|
33
|
+
rbx.platform.typedef.__off_t = long_long
|
34
|
+
rbx.platform.typedef.__paddr_t = ulong
|
35
|
+
rbx.platform.typedef.__pid_t = int
|
36
|
+
rbx.platform.typedef.__psize_t = ulong
|
37
|
+
rbx.platform.typedef.__ptrdiff_t = long
|
38
|
+
rbx.platform.typedef.__register_t = long
|
39
|
+
rbx.platform.typedef.__rlim_t = ulong_long
|
40
|
+
rbx.platform.typedef.__rune_t = int
|
41
|
+
rbx.platform.typedef.__sa_family_t = uchar
|
42
|
+
rbx.platform.typedef.__segsz_t = int
|
43
|
+
rbx.platform.typedef.__size_t = ulong
|
44
|
+
rbx.platform.typedef.__socklen_t = uint
|
45
|
+
rbx.platform.typedef.__ssize_t = long
|
46
|
+
rbx.platform.typedef.__suseconds_t = long
|
47
|
+
rbx.platform.typedef.__swblk_t = int
|
48
|
+
rbx.platform.typedef.__time_t = long_long
|
49
|
+
rbx.platform.typedef.__timer_t = int
|
50
|
+
rbx.platform.typedef.__uid_t = uint
|
51
|
+
rbx.platform.typedef.__uint16_t = ushort
|
52
|
+
rbx.platform.typedef.__uint32_t = uint
|
53
|
+
rbx.platform.typedef.__uint64_t = ulong_long
|
54
|
+
rbx.platform.typedef.__uint8_t = uchar
|
55
|
+
rbx.platform.typedef.__uint_fast16_t = uint
|
56
|
+
rbx.platform.typedef.__uint_fast32_t = uint
|
57
|
+
rbx.platform.typedef.__uint_fast64_t = ulong_long
|
58
|
+
rbx.platform.typedef.__uint_fast8_t = uint
|
59
|
+
rbx.platform.typedef.__uint_least16_t = ushort
|
60
|
+
rbx.platform.typedef.__uint_least32_t = uint
|
61
|
+
rbx.platform.typedef.__uint_least64_t = ulong_long
|
62
|
+
rbx.platform.typedef.__uint_least8_t = uchar
|
63
|
+
rbx.platform.typedef.__uintmax_t = ulong_long
|
64
|
+
rbx.platform.typedef.__uintptr_t = ulong
|
65
|
+
rbx.platform.typedef.__useconds_t = uint
|
66
|
+
rbx.platform.typedef.__vaddr_t = ulong
|
67
|
+
rbx.platform.typedef.__vsize_t = ulong
|
68
|
+
rbx.platform.typedef.__wchar_t = int
|
69
|
+
rbx.platform.typedef.__wctrans_t = pointer
|
70
|
+
rbx.platform.typedef.__wctype_t = pointer
|
71
|
+
rbx.platform.typedef.__wint_t = int
|
72
|
+
rbx.platform.typedef.blkcnt_t = long_long
|
73
|
+
rbx.platform.typedef.blksize_t = int
|
74
|
+
rbx.platform.typedef.caddr_t = string
|
75
|
+
rbx.platform.typedef.clock_t = long_long
|
76
|
+
rbx.platform.typedef.clockid_t = int
|
77
|
+
rbx.platform.typedef.cpuid_t = ulong
|
78
|
+
rbx.platform.typedef.daddr32_t = int
|
79
|
+
rbx.platform.typedef.daddr_t = long_long
|
80
|
+
rbx.platform.typedef.dev_t = int
|
81
|
+
rbx.platform.typedef.fixpt_t = uint
|
82
|
+
rbx.platform.typedef.fsblkcnt_t = ulong_long
|
83
|
+
rbx.platform.typedef.fsfilcnt_t = ulong_long
|
84
|
+
rbx.platform.typedef.gid_t = uint
|
85
|
+
rbx.platform.typedef.id_t = uint
|
86
|
+
rbx.platform.typedef.in_addr_t = uint
|
87
|
+
rbx.platform.typedef.in_port_t = ushort
|
88
|
+
rbx.platform.typedef.ino_t = ulong_long
|
89
|
+
rbx.platform.typedef.int16_t = short
|
90
|
+
rbx.platform.typedef.int32_t = int
|
91
|
+
rbx.platform.typedef.int64_t = long_long
|
92
|
+
rbx.platform.typedef.int8_t = char
|
93
|
+
rbx.platform.typedef.key_t = long
|
94
|
+
rbx.platform.typedef.mode_t = uint
|
95
|
+
rbx.platform.typedef.nlink_t = uint
|
96
|
+
rbx.platform.typedef.off_t = long_long
|
97
|
+
rbx.platform.typedef.paddr_t = ulong
|
98
|
+
rbx.platform.typedef.pid_t = int
|
99
|
+
rbx.platform.typedef.psize_t = ulong
|
100
|
+
rbx.platform.typedef.qaddr_t = pointer
|
101
|
+
rbx.platform.typedef.quad_t = long_long
|
102
|
+
rbx.platform.typedef.register_t = long
|
103
|
+
rbx.platform.typedef.rlim_t = ulong_long
|
104
|
+
rbx.platform.typedef.sa_family_t = uchar
|
105
|
+
rbx.platform.typedef.segsz_t = int
|
106
|
+
rbx.platform.typedef.sigset_t = uint
|
107
|
+
rbx.platform.typedef.size_t = ulong
|
108
|
+
rbx.platform.typedef.socklen_t = uint
|
109
|
+
rbx.platform.typedef.ssize_t = long
|
110
|
+
rbx.platform.typedef.suseconds_t = long
|
111
|
+
rbx.platform.typedef.swblk_t = int
|
112
|
+
rbx.platform.typedef.time_t = long_long
|
113
|
+
rbx.platform.typedef.timer_t = int
|
114
|
+
rbx.platform.typedef.u_char = uchar
|
115
|
+
rbx.platform.typedef.u_int = uint
|
116
|
+
rbx.platform.typedef.u_int16_t = ushort
|
117
|
+
rbx.platform.typedef.u_int32_t = uint
|
118
|
+
rbx.platform.typedef.u_int64_t = ulong_long
|
119
|
+
rbx.platform.typedef.u_int8_t = uchar
|
120
|
+
rbx.platform.typedef.u_long = ulong
|
121
|
+
rbx.platform.typedef.u_quad_t = ulong_long
|
122
|
+
rbx.platform.typedef.u_short = ushort
|
123
|
+
rbx.platform.typedef.uid_t = uint
|
124
|
+
rbx.platform.typedef.uint = uint
|
125
|
+
rbx.platform.typedef.uint16_t = ushort
|
126
|
+
rbx.platform.typedef.uint32_t = uint
|
127
|
+
rbx.platform.typedef.uint64_t = ulong_long
|
128
|
+
rbx.platform.typedef.uint8_t = uchar
|
129
|
+
rbx.platform.typedef.ulong = ulong
|
130
|
+
rbx.platform.typedef.unchar = uchar
|
131
|
+
rbx.platform.typedef.useconds_t = uint
|
132
|
+
rbx.platform.typedef.ushort = ushort
|
133
|
+
rbx.platform.typedef.vaddr_t = ulong
|
134
|
+
rbx.platform.typedef.vsize_t = ulong
|
@@ -1,5 +1,4 @@
|
|
1
1
|
rbx.platform.typedef.*__caddr_t = char
|
2
|
-
rbx.platform.typedef.*__qaddr_t = long_long
|
3
2
|
rbx.platform.typedef.__blkcnt64_t = long_long
|
4
3
|
rbx.platform.typedef.__blkcnt_t = long
|
5
4
|
rbx.platform.typedef.__blksize_t = long
|
@@ -12,16 +11,16 @@ rbx.platform.typedef.__fsblkcnt64_t = ulong_long
|
|
12
11
|
rbx.platform.typedef.__fsblkcnt_t = ulong
|
13
12
|
rbx.platform.typedef.__fsfilcnt64_t = ulong_long
|
14
13
|
rbx.platform.typedef.__fsfilcnt_t = ulong
|
14
|
+
rbx.platform.typedef.__fsword_t = int
|
15
15
|
rbx.platform.typedef.__gid_t = uint
|
16
16
|
rbx.platform.typedef.__id_t = uint
|
17
|
-
rbx.platform.typedef.__in_addr_t = uint
|
18
|
-
rbx.platform.typedef.__in_port_t = ushort
|
19
17
|
rbx.platform.typedef.__ino64_t = ulong_long
|
20
18
|
rbx.platform.typedef.__ino_t = ulong
|
21
19
|
rbx.platform.typedef.__int16_t = short
|
22
20
|
rbx.platform.typedef.__int32_t = int
|
23
21
|
rbx.platform.typedef.__int64_t = long_long
|
24
22
|
rbx.platform.typedef.__int8_t = char
|
23
|
+
rbx.platform.typedef.__intmax_t = long_long
|
25
24
|
rbx.platform.typedef.__intptr_t = int
|
26
25
|
rbx.platform.typedef.__key_t = int
|
27
26
|
rbx.platform.typedef.__loff_t = long_long
|
@@ -40,7 +39,8 @@ rbx.platform.typedef.__sig_atomic_t = int
|
|
40
39
|
rbx.platform.typedef.__socklen_t = uint
|
41
40
|
rbx.platform.typedef.__ssize_t = int
|
42
41
|
rbx.platform.typedef.__suseconds_t = long
|
43
|
-
rbx.platform.typedef.
|
42
|
+
rbx.platform.typedef.__syscall_slong_t = long
|
43
|
+
rbx.platform.typedef.__syscall_ulong_t = ulong
|
44
44
|
rbx.platform.typedef.__time_t = long
|
45
45
|
rbx.platform.typedef.__timer_t = pointer
|
46
46
|
rbx.platform.typedef.__u_char = uchar
|
@@ -53,6 +53,7 @@ rbx.platform.typedef.__uint16_t = ushort
|
|
53
53
|
rbx.platform.typedef.__uint32_t = uint
|
54
54
|
rbx.platform.typedef.__uint64_t = ulong_long
|
55
55
|
rbx.platform.typedef.__uint8_t = uchar
|
56
|
+
rbx.platform.typedef.__uintmax_t = ulong_long
|
56
57
|
rbx.platform.typedef.__useconds_t = uint
|
57
58
|
rbx.platform.typedef.blkcnt_t = long_long
|
58
59
|
rbx.platform.typedef.blksize_t = long
|
@@ -65,11 +66,22 @@ rbx.platform.typedef.fsblkcnt_t = ulong_long
|
|
65
66
|
rbx.platform.typedef.fsfilcnt_t = ulong_long
|
66
67
|
rbx.platform.typedef.gid_t = uint
|
67
68
|
rbx.platform.typedef.id_t = uint
|
69
|
+
rbx.platform.typedef.in_addr_t = uint
|
70
|
+
rbx.platform.typedef.in_port_t = ushort
|
68
71
|
rbx.platform.typedef.ino_t = ulong_long
|
69
72
|
rbx.platform.typedef.int16_t = short
|
70
73
|
rbx.platform.typedef.int32_t = int
|
71
74
|
rbx.platform.typedef.int64_t = long_long
|
72
75
|
rbx.platform.typedef.int8_t = char
|
76
|
+
rbx.platform.typedef.int_fast16_t = int
|
77
|
+
rbx.platform.typedef.int_fast32_t = int
|
78
|
+
rbx.platform.typedef.int_fast64_t = long_long
|
79
|
+
rbx.platform.typedef.int_fast8_t = char
|
80
|
+
rbx.platform.typedef.int_least32_t = int
|
81
|
+
rbx.platform.typedef.int_least64_t = long_long
|
82
|
+
rbx.platform.typedef.int_least8_t = char
|
83
|
+
rbx.platform.typedef.intmax_t = long_long
|
84
|
+
rbx.platform.typedef.intptr_t = int
|
73
85
|
rbx.platform.typedef.key_t = int
|
74
86
|
rbx.platform.typedef.loff_t = long_long
|
75
87
|
rbx.platform.typedef.mode_t = uint
|
@@ -79,6 +91,7 @@ rbx.platform.typedef.pid_t = int
|
|
79
91
|
rbx.platform.typedef.pthread_key_t = uint
|
80
92
|
rbx.platform.typedef.pthread_once_t = int
|
81
93
|
rbx.platform.typedef.pthread_t = ulong
|
94
|
+
rbx.platform.typedef.ptrdiff_t = int
|
82
95
|
rbx.platform.typedef.quad_t = long_long
|
83
96
|
rbx.platform.typedef.register_t = long
|
84
97
|
rbx.platform.typedef.rlim_t = ulong_long
|
@@ -100,5 +113,20 @@ rbx.platform.typedef.u_quad_t = ulong_long
|
|
100
113
|
rbx.platform.typedef.u_short = ushort
|
101
114
|
rbx.platform.typedef.uid_t = uint
|
102
115
|
rbx.platform.typedef.uint = uint
|
116
|
+
rbx.platform.typedef.uint16_t = ushort
|
117
|
+
rbx.platform.typedef.uint32_t = uint
|
118
|
+
rbx.platform.typedef.uint64_t = ulong_long
|
119
|
+
rbx.platform.typedef.uint8_t = uchar
|
120
|
+
rbx.platform.typedef.uint_fast16_t = uint
|
121
|
+
rbx.platform.typedef.uint_fast32_t = uint
|
122
|
+
rbx.platform.typedef.uint_fast64_t = ulong_long
|
123
|
+
rbx.platform.typedef.uint_fast8_t = uchar
|
124
|
+
rbx.platform.typedef.uint_least16_t = ushort
|
125
|
+
rbx.platform.typedef.uint_least32_t = uint
|
126
|
+
rbx.platform.typedef.uint_least64_t = ulong_long
|
127
|
+
rbx.platform.typedef.uint_least8_t = uchar
|
128
|
+
rbx.platform.typedef.uintmax_t = ulong_long
|
129
|
+
rbx.platform.typedef.uintptr_t = uint
|
103
130
|
rbx.platform.typedef.ulong = ulong
|
104
131
|
rbx.platform.typedef.ushort = ushort
|
132
|
+
rbx.platform.typedef.wchar_t = uint
|