ffi 1.11.1-x86-mingw32 → 1.11.2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/{appveyor.yml → .appveyor.yml} +1 -1
  3. data/.gitmodules +2 -2
  4. data/CHANGELOG.md +16 -0
  5. data/Rakefile +1 -0
  6. data/ffi.gemspec +1 -1
  7. data/lib/ffi/library.rb +5 -5
  8. data/lib/ffi/platform.rb +4 -1
  9. data/lib/ffi/platform/aarch64-freebsd/types.conf +89 -89
  10. data/lib/ffi/platform/aarch64-freebsd12/types.conf +89 -89
  11. data/lib/ffi/platform/aarch64-linux/types.conf +81 -81
  12. data/lib/ffi/platform/arm-freebsd/types.conf +87 -87
  13. data/lib/ffi/platform/arm-freebsd12/types.conf +87 -87
  14. data/lib/ffi/platform/arm-linux/types.conf +79 -79
  15. data/lib/ffi/platform/i386-cygwin/types.conf +1 -1
  16. data/lib/ffi/platform/i386-darwin/types.conf +63 -63
  17. data/lib/ffi/platform/i386-freebsd/types.conf +87 -87
  18. data/lib/ffi/platform/i386-freebsd12/types.conf +87 -87
  19. data/lib/ffi/platform/i386-gnu/types.conf +84 -84
  20. data/lib/ffi/platform/i386-linux/types.conf +77 -77
  21. data/lib/ffi/platform/i386-netbsd/types.conf +87 -87
  22. data/lib/ffi/platform/i386-openbsd/types.conf +89 -89
  23. data/lib/ffi/platform/i386-solaris/types.conf +96 -96
  24. data/lib/ffi/platform/i386-windows/types.conf +84 -84
  25. data/lib/ffi/platform/ia64-linux/types.conf +79 -79
  26. data/lib/ffi/platform/mips-linux/types.conf +79 -79
  27. data/lib/ffi/platform/mips64-linux/types.conf +81 -81
  28. data/lib/ffi/platform/mips64el-linux/types.conf +81 -81
  29. data/lib/ffi/platform/mipsel-linux/types.conf +79 -79
  30. data/lib/ffi/platform/mipsisa32r6-linux/types.conf +79 -79
  31. data/lib/ffi/platform/mipsisa32r6el-linux/types.conf +79 -79
  32. data/lib/ffi/platform/mipsisa64r6-linux/types.conf +81 -81
  33. data/lib/ffi/platform/mipsisa64r6el-linux/types.conf +81 -81
  34. data/lib/ffi/platform/powerpc-aix/types.conf +155 -155
  35. data/lib/ffi/platform/powerpc-darwin/types.conf +63 -63
  36. data/lib/ffi/platform/powerpc-linux/types.conf +77 -77
  37. data/lib/ffi/platform/powerpc64-linux/types.conf +81 -81
  38. data/lib/ffi/platform/s390-linux/types.conf +79 -79
  39. data/lib/ffi/platform/s390x-linux/types.conf +79 -79
  40. data/lib/ffi/platform/sparc-linux/types.conf +79 -79
  41. data/lib/ffi/platform/sparc-solaris/types.conf +103 -103
  42. data/lib/ffi/platform/sparc64-linux/types.conf +79 -79
  43. data/lib/ffi/platform/sparcv9-solaris/types.conf +103 -103
  44. data/lib/ffi/platform/x86_64-cygwin/types.conf +1 -1
  45. data/lib/ffi/platform/x86_64-darwin/types.conf +84 -84
  46. data/lib/ffi/platform/x86_64-dragonflybsd/types.conf +148 -0
  47. data/lib/ffi/platform/x86_64-freebsd/types.conf +89 -89
  48. data/lib/ffi/platform/x86_64-freebsd12/types.conf +139 -109
  49. data/lib/ffi/platform/x86_64-linux/types.conf +86 -77
  50. data/lib/ffi/platform/x86_64-netbsd/types.conf +89 -89
  51. data/lib/ffi/platform/x86_64-openbsd/types.conf +86 -86
  52. data/lib/ffi/platform/x86_64-solaris/types.conf +96 -96
  53. data/lib/ffi/platform/x86_64-windows/types.conf +99 -99
  54. data/lib/ffi/tools/types_generator.rb +5 -4
  55. data/lib/ffi/version.rb +1 -1
  56. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 145925c956c2668a4ef9a9fc3b0eb508609e3632bf8db7988f1494c1acca4d7f
4
- data.tar.gz: 8c7a767c84494fdd29b81aee2cd3c0d60a11e3f12ed19e483d1496438ece395a
3
+ metadata.gz: cfa7c385ccc6c5abf2899b1789fbb5a8ce8a6f593cd9ccd2f61074e0c02c4957
4
+ data.tar.gz: c1102134ce8a3e449dc2adf9188ec13dd84cbe4733bf2f6b0b2467da20547db3
5
5
  SHA512:
6
- metadata.gz: e5afd68fdfa84e049f2714938e66837332f1b3a851a6dd0c8b0ad2559f4d87753384a5e4963f8f8fc7108bd1a6fadbcdc2326eada3ed06f2c5f5857972dec364
7
- data.tar.gz: 3a4834bfaf83eb18dd7081f09f696fe498461971f1135a52c89e66f6d2ec716f2b934e052bc6f7a1700fe65178fcbe35ea821403bae2df8a47cc8b27833fde60
6
+ metadata.gz: 7e81476f665bdf167eea930b0a45be75433a546aa1a92d6fa907c595e056ae2d99accd91dd9ee41126a61dece9cf40ccf95082b6a3b22ad02aed17e5b50a0dc7
7
+ data.tar.gz: 640e062508eb5d73743ad3f05617d904dfa0cb71b015cb256c4d07cfd92bc223c14d3c2114b8407e1eb7cdf03efca1b0cb26fde04e44db266049c7777c58a61f
@@ -23,5 +23,5 @@ environment:
23
23
  EXTCONFOPTS: "--disable-system-libffi"
24
24
  - RUBYVER: 25-x64
25
25
  EXTCONFOPTS: "--enable-system-libffi"
26
- - RUBYVER: 25
26
+ - RUBYVER: 26
27
27
  EXTCONFOPTS: "--enable-system-libffi"
data/.gitmodules CHANGED
@@ -1,4 +1,4 @@
1
1
  [submodule "ext/ffi_c/libffi"]
2
2
  path = ext/ffi_c/libffi
3
- url = https://github.com/larskanis/libffi.git
4
- branch = fix-stdcall
3
+ url = https://github.com/libffi/libffi.git
4
+ branch = master
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ 1.11.2 / 2019-11-11
2
+ -------------------
3
+
4
+ Added:
5
+ * Add DragonFlyBSD as a platform. #724
6
+
7
+ Changed:
8
+ * Sort all types.conf files, so that files and changes are easier to compare.
9
+ * Regenerated type conf for freebsd12 and x86_64-linux targets. #722
10
+ * Remove MACOSX_DEPLOYMENT_TARGET that was targeting very old version 10.4. #647
11
+ * Fix library name mangling for non glibc Linux/UNIX. #727
12
+ * Fix compiler warnings raised by ruby-2.7
13
+ * Update libffi to latest master.
14
+
15
+
1
16
  1.11.1 / 2019-05-20
2
17
  -------------------
3
18
 
@@ -8,6 +23,7 @@ Changed:
8
23
 
9
24
  1.11.0 / 2019-05-17
10
25
  -------------------
26
+ This version was yanked on 2019-05-20 to fix an install issue on ruby-1.9.3. #700
11
27
 
12
28
  Added:
13
29
  * Add ability to disable or force use of system libffi. #669
data/Rakefile CHANGED
@@ -176,6 +176,7 @@ file types_conf => File.join("lib", "ffi", "version.rb") do |task|
176
176
  end
177
177
  end
178
178
 
179
+ desc "Create or update type information for platform #{FFI::Platform::NAME}"
179
180
  task :types_conf => types_conf do
180
181
  end
181
182
 
data/ffi.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.version = FFI::VERSION
6
6
  s.author = 'Wayne Meissner'
7
7
  s.email = 'wmeissner@gmail.com'
8
- s.homepage = 'http://wiki.github.com/ffi/ffi'
8
+ s.homepage = 'https://github.com/ffi/ffi/wiki'
9
9
  s.summary = 'Ruby FFI'
10
10
  s.description = 'Ruby FFI library'
11
11
  if s.respond_to?(:metadata)
data/lib/ffi/library.rb CHANGED
@@ -47,7 +47,7 @@ module FFI
47
47
 
48
48
  if lib && File.basename(lib) == lib
49
49
  lib = Platform::LIBPREFIX + lib unless lib =~ /^#{Platform::LIBPREFIX}/
50
- r = Platform::IS_GNU ? "\\.so($|\\.[1234567890]+)" : "\\.#{Platform::LIBSUFFIX}$"
50
+ r = Platform::IS_WINDOWS || Platform::IS_MAC ? "\\.#{Platform::LIBSUFFIX}$" : "\\.so($|\\.[1234567890]+)"
51
51
  lib += ".#{Platform::LIBSUFFIX}" unless lib =~ /#{r}/
52
52
  end
53
53
 
@@ -65,16 +65,16 @@ module FFI
65
65
  #
66
66
  # A basic usage may be:
67
67
  # require 'ffi'
68
- #
68
+ #
69
69
  # module Hello
70
70
  # extend FFI::Library
71
71
  # ffi_lib FFI::Library::LIBC
72
72
  # attach_function 'puts', [ :string ], :int
73
73
  # end
74
- #
74
+ #
75
75
  # Hello.puts("Hello, World")
76
76
  #
77
- #
77
+ #
78
78
  module Library
79
79
  CURRENT_PROCESS = FFI::CURRENT_PROCESS
80
80
  LIBC = FFI::Platform::LIBC
@@ -87,7 +87,7 @@ module FFI
87
87
  raise RuntimeError.new("must only be extended by module") unless mod.kind_of?(Module)
88
88
  end
89
89
 
90
-
90
+
91
91
  # @param [Array] names names of libraries to load
92
92
  # @return [Array<DynamicLibrary>]
93
93
  # @raise {LoadError} if a library cannot be opened
data/lib/ffi/platform.rb CHANGED
@@ -46,6 +46,8 @@ module FFI
46
46
  "netbsd"
47
47
  when /openbsd/
48
48
  "openbsd"
49
+ when /dragonfly/
50
+ "dragonflybsd"
49
51
  when /sunos|solaris/
50
52
  "solaris"
51
53
  when /mingw|mswin/
@@ -92,9 +94,10 @@ module FFI
92
94
  IS_FREEBSD = is_os("freebsd")
93
95
  IS_NETBSD = is_os("netbsd")
94
96
  IS_OPENBSD = is_os("openbsd")
97
+ IS_DRAGONFLYBSD = is_os("dragonfly")
95
98
  IS_SOLARIS = is_os("solaris")
96
99
  IS_WINDOWS = is_os("windows")
97
- IS_BSD = IS_MAC || IS_FREEBSD || IS_NETBSD || IS_OPENBSD
100
+ IS_BSD = IS_MAC || IS_FREEBSD || IS_NETBSD || IS_OPENBSD || IS_DRAGONFLYBSD
98
101
 
99
102
  # Add the version for known ABI breaks
100
103
  name_version = "12" if IS_FREEBSD && OSVERSION >= 12 # 64-bit inodes
@@ -1,128 +1,128 @@
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 = long_long
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
1
  rbx.platform.typedef.__clock_t = int
35
2
  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
3
  rbx.platform.typedef.__cpuid_t = ulong
48
4
  rbx.platform.typedef.__dev_t = int
5
+ rbx.platform.typedef.__fd_mask = int
49
6
  rbx.platform.typedef.__fixpt_t = uint
50
7
  rbx.platform.typedef.__gid_t = uint
51
8
  rbx.platform.typedef.__id_t = uint
52
9
  rbx.platform.typedef.__in_addr_t = uint
53
10
  rbx.platform.typedef.__in_port_t = ushort
54
11
  rbx.platform.typedef.__ino_t = uint
12
+ rbx.platform.typedef.__int16_t = short
13
+ rbx.platform.typedef.__int32_t = int
14
+ rbx.platform.typedef.__int64_t = long_long
15
+ rbx.platform.typedef.__int8_t = char
16
+ rbx.platform.typedef.__int_fast16_t = int
17
+ rbx.platform.typedef.__int_fast32_t = int
18
+ rbx.platform.typedef.__int_fast64_t = long_long
19
+ rbx.platform.typedef.__int_fast8_t = int
20
+ rbx.platform.typedef.__int_least16_t = short
21
+ rbx.platform.typedef.__int_least32_t = int
22
+ rbx.platform.typedef.__int_least64_t = long_long
23
+ rbx.platform.typedef.__int_least8_t = char
24
+ rbx.platform.typedef.__intmax_t = long_long
25
+ rbx.platform.typedef.__intptr_t = long
55
26
  rbx.platform.typedef.__key_t = long
56
27
  rbx.platform.typedef.__mode_t = uint
57
28
  rbx.platform.typedef.__nlink_t = uint
29
+ rbx.platform.typedef.__off_t = long_long
30
+ rbx.platform.typedef.__paddr_t = ulong
58
31
  rbx.platform.typedef.__pid_t = int
32
+ rbx.platform.typedef.__psize_t = ulong
33
+ rbx.platform.typedef.__ptrdiff_t = long
34
+ rbx.platform.typedef.__register_t = long_long
59
35
  rbx.platform.typedef.__rlim_t = ulong_long
36
+ rbx.platform.typedef.__rune_t = int
60
37
  rbx.platform.typedef.__sa_family_t = uchar
61
38
  rbx.platform.typedef.__segsz_t = int
39
+ rbx.platform.typedef.__size_t = ulong
62
40
  rbx.platform.typedef.__socklen_t = uint
41
+ rbx.platform.typedef.__ssize_t = long
42
+ rbx.platform.typedef.__suseconds_t = int
63
43
  rbx.platform.typedef.__swblk_t = int
44
+ rbx.platform.typedef.__time_t = int
45
+ rbx.platform.typedef.__timer_t = int
64
46
  rbx.platform.typedef.__uid_t = uint
47
+ rbx.platform.typedef.__uint16_t = ushort
48
+ rbx.platform.typedef.__uint32_t = uint
49
+ rbx.platform.typedef.__uint64_t = ulong_long
50
+ rbx.platform.typedef.__uint8_t = uchar
51
+ rbx.platform.typedef.__uint_fast16_t = uint
52
+ rbx.platform.typedef.__uint_fast32_t = uint
53
+ rbx.platform.typedef.__uint_fast64_t = ulong_long
54
+ rbx.platform.typedef.__uint_fast8_t = uint
55
+ rbx.platform.typedef.__uint_least16_t = ushort
56
+ rbx.platform.typedef.__uint_least32_t = uint
57
+ rbx.platform.typedef.__uint_least64_t = ulong_long
58
+ rbx.platform.typedef.__uint_least8_t = uchar
59
+ rbx.platform.typedef.__uintmax_t = ulong_long
60
+ rbx.platform.typedef.__uintptr_t = ulong
65
61
  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 = long_long
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.intptr_t = long
86
- rbx.platform.typedef.uintptr_t = ulong
87
- rbx.platform.typedef.u_int8_t = uchar
88
- rbx.platform.typedef.u_int16_t = ushort
89
- rbx.platform.typedef.u_int32_t = uint
90
- rbx.platform.typedef.u_int64_t = ulong_long
91
- rbx.platform.typedef.quad_t = long_long
92
- rbx.platform.typedef.u_quad_t = ulong_long
93
- rbx.platform.typedef.qaddr_t = pointer
94
- rbx.platform.typedef.vaddr_t = ulong
95
- rbx.platform.typedef.paddr_t = ulong
96
- rbx.platform.typedef.vsize_t = ulong
97
- rbx.platform.typedef.psize_t = ulong
62
+ rbx.platform.typedef.__vaddr_t = ulong
63
+ rbx.platform.typedef.__vsize_t = ulong
64
+ rbx.platform.typedef.__wchar_t = int
65
+ rbx.platform.typedef.__wctrans_t = pointer
66
+ rbx.platform.typedef.__wctype_t = pointer
67
+ rbx.platform.typedef.__wint_t = int
98
68
  rbx.platform.typedef.caddr_t = string
99
- rbx.platform.typedef.daddr_t = int
69
+ rbx.platform.typedef.clock_t = int
70
+ rbx.platform.typedef.clockid_t = int
71
+ rbx.platform.typedef.cpuid_t = ulong
100
72
  rbx.platform.typedef.daddr32_t = int
101
73
  rbx.platform.typedef.daddr64_t = long_long
74
+ rbx.platform.typedef.daddr_t = int
102
75
  rbx.platform.typedef.dev_t = int
103
76
  rbx.platform.typedef.fixpt_t = uint
104
77
  rbx.platform.typedef.gid_t = uint
105
78
  rbx.platform.typedef.id_t = uint
79
+ rbx.platform.typedef.in_addr_t = uint
80
+ rbx.platform.typedef.in_port_t = ushort
106
81
  rbx.platform.typedef.ino_t = uint
82
+ rbx.platform.typedef.int16_t = short
83
+ rbx.platform.typedef.int32_t = int
84
+ rbx.platform.typedef.int64_t = long_long
85
+ rbx.platform.typedef.int8_t = char
86
+ rbx.platform.typedef.intptr_t = long
107
87
  rbx.platform.typedef.key_t = long
108
88
  rbx.platform.typedef.mode_t = uint
109
89
  rbx.platform.typedef.nlink_t = uint
90
+ rbx.platform.typedef.off_t = long_long
91
+ rbx.platform.typedef.paddr_t = ulong
110
92
  rbx.platform.typedef.pid_t = int
93
+ rbx.platform.typedef.psize_t = ulong
94
+ rbx.platform.typedef.qaddr_t = pointer
95
+ rbx.platform.typedef.quad_t = long_long
96
+ rbx.platform.typedef.register_t = long_long
111
97
  rbx.platform.typedef.rlim_t = ulong_long
112
- rbx.platform.typedef.segsz_t = int
113
- rbx.platform.typedef.swblk_t = int
114
- rbx.platform.typedef.uid_t = uint
115
- rbx.platform.typedef.useconds_t = uint
116
- rbx.platform.typedef.suseconds_t = int
117
- rbx.platform.typedef.in_addr_t = uint
118
- rbx.platform.typedef.in_port_t = ushort
119
98
  rbx.platform.typedef.sa_family_t = uchar
120
- rbx.platform.typedef.socklen_t = uint
121
- rbx.platform.typedef.clock_t = int
122
- rbx.platform.typedef.clockid_t = int
99
+ rbx.platform.typedef.segsz_t = int
123
100
  rbx.platform.typedef.size_t = ulong
101
+ rbx.platform.typedef.socklen_t = uint
124
102
  rbx.platform.typedef.ssize_t = long
103
+ rbx.platform.typedef.suseconds_t = int
104
+ rbx.platform.typedef.swblk_t = int
125
105
  rbx.platform.typedef.time_t = int
126
106
  rbx.platform.typedef.timer_t = int
127
- rbx.platform.typedef.off_t = long_long
128
- rbx.platform.typedef.__fd_mask = int
107
+ rbx.platform.typedef.u_char = uchar
108
+ rbx.platform.typedef.u_int = uint
109
+ rbx.platform.typedef.u_int16_t = ushort
110
+ rbx.platform.typedef.u_int32_t = uint
111
+ rbx.platform.typedef.u_int64_t = ulong_long
112
+ rbx.platform.typedef.u_int8_t = uchar
113
+ rbx.platform.typedef.u_long = ulong
114
+ rbx.platform.typedef.u_quad_t = ulong_long
115
+ rbx.platform.typedef.u_short = ushort
116
+ rbx.platform.typedef.uid_t = uint
117
+ rbx.platform.typedef.uint = uint
118
+ rbx.platform.typedef.uint16_t = ushort
119
+ rbx.platform.typedef.uint32_t = uint
120
+ rbx.platform.typedef.uint64_t = ulong_long
121
+ rbx.platform.typedef.uint8_t = uchar
122
+ rbx.platform.typedef.uintptr_t = ulong
123
+ rbx.platform.typedef.ulong = ulong
124
+ rbx.platform.typedef.unchar = uchar
125
+ rbx.platform.typedef.useconds_t = uint
126
+ rbx.platform.typedef.ushort = ushort
127
+ rbx.platform.typedef.vaddr_t = ulong
128
+ rbx.platform.typedef.vsize_t = ulong
@@ -1,128 +1,128 @@
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 = long_long
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
1
  rbx.platform.typedef.__clock_t = int
35
2
  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
3
  rbx.platform.typedef.__cpuid_t = ulong
48
4
  rbx.platform.typedef.__dev_t = ulong_long
5
+ rbx.platform.typedef.__fd_mask = int
49
6
  rbx.platform.typedef.__fixpt_t = uint
50
7
  rbx.platform.typedef.__gid_t = uint
51
8
  rbx.platform.typedef.__id_t = uint
52
9
  rbx.platform.typedef.__in_addr_t = uint
53
10
  rbx.platform.typedef.__in_port_t = ushort
54
11
  rbx.platform.typedef.__ino_t = ulong_long
12
+ rbx.platform.typedef.__int16_t = short
13
+ rbx.platform.typedef.__int32_t = int
14
+ rbx.platform.typedef.__int64_t = long_long
15
+ rbx.platform.typedef.__int8_t = char
16
+ rbx.platform.typedef.__int_fast16_t = int
17
+ rbx.platform.typedef.__int_fast32_t = int
18
+ rbx.platform.typedef.__int_fast64_t = long_long
19
+ rbx.platform.typedef.__int_fast8_t = int
20
+ rbx.platform.typedef.__int_least16_t = short
21
+ rbx.platform.typedef.__int_least32_t = int
22
+ rbx.platform.typedef.__int_least64_t = long_long
23
+ rbx.platform.typedef.__int_least8_t = char
24
+ rbx.platform.typedef.__intmax_t = long_long
25
+ rbx.platform.typedef.__intptr_t = long
55
26
  rbx.platform.typedef.__key_t = long
56
27
  rbx.platform.typedef.__mode_t = uint
57
28
  rbx.platform.typedef.__nlink_t = ulong_long
29
+ rbx.platform.typedef.__off_t = long_long
30
+ rbx.platform.typedef.__paddr_t = ulong
58
31
  rbx.platform.typedef.__pid_t = int
32
+ rbx.platform.typedef.__psize_t = ulong
33
+ rbx.platform.typedef.__ptrdiff_t = long
34
+ rbx.platform.typedef.__register_t = long_long
59
35
  rbx.platform.typedef.__rlim_t = ulong_long
36
+ rbx.platform.typedef.__rune_t = int
60
37
  rbx.platform.typedef.__sa_family_t = uchar
61
38
  rbx.platform.typedef.__segsz_t = int
39
+ rbx.platform.typedef.__size_t = ulong
62
40
  rbx.platform.typedef.__socklen_t = uint
41
+ rbx.platform.typedef.__ssize_t = long
42
+ rbx.platform.typedef.__suseconds_t = int
63
43
  rbx.platform.typedef.__swblk_t = int
44
+ rbx.platform.typedef.__time_t = int
45
+ rbx.platform.typedef.__timer_t = int
64
46
  rbx.platform.typedef.__uid_t = uint
47
+ rbx.platform.typedef.__uint16_t = ushort
48
+ rbx.platform.typedef.__uint32_t = uint
49
+ rbx.platform.typedef.__uint64_t = ulong_long
50
+ rbx.platform.typedef.__uint8_t = uchar
51
+ rbx.platform.typedef.__uint_fast16_t = uint
52
+ rbx.platform.typedef.__uint_fast32_t = uint
53
+ rbx.platform.typedef.__uint_fast64_t = ulong_long
54
+ rbx.platform.typedef.__uint_fast8_t = uint
55
+ rbx.platform.typedef.__uint_least16_t = ushort
56
+ rbx.platform.typedef.__uint_least32_t = uint
57
+ rbx.platform.typedef.__uint_least64_t = ulong_long
58
+ rbx.platform.typedef.__uint_least8_t = uchar
59
+ rbx.platform.typedef.__uintmax_t = ulong_long
60
+ rbx.platform.typedef.__uintptr_t = ulong
65
61
  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 = long_long
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.intptr_t = long
86
- rbx.platform.typedef.uintptr_t = ulong
87
- rbx.platform.typedef.u_int8_t = uchar
88
- rbx.platform.typedef.u_int16_t = ushort
89
- rbx.platform.typedef.u_int32_t = uint
90
- rbx.platform.typedef.u_int64_t = ulong_long
91
- rbx.platform.typedef.quad_t = long_long
92
- rbx.platform.typedef.u_quad_t = ulong_long
93
- rbx.platform.typedef.qaddr_t = pointer
94
- rbx.platform.typedef.vaddr_t = ulong
95
- rbx.platform.typedef.paddr_t = ulong
96
- rbx.platform.typedef.vsize_t = ulong
97
- rbx.platform.typedef.psize_t = ulong
62
+ rbx.platform.typedef.__vaddr_t = ulong
63
+ rbx.platform.typedef.__vsize_t = ulong
64
+ rbx.platform.typedef.__wchar_t = int
65
+ rbx.platform.typedef.__wctrans_t = pointer
66
+ rbx.platform.typedef.__wctype_t = pointer
67
+ rbx.platform.typedef.__wint_t = int
98
68
  rbx.platform.typedef.caddr_t = string
99
- rbx.platform.typedef.daddr_t = int
69
+ rbx.platform.typedef.clock_t = int
70
+ rbx.platform.typedef.clockid_t = int
71
+ rbx.platform.typedef.cpuid_t = ulong
100
72
  rbx.platform.typedef.daddr32_t = int
101
73
  rbx.platform.typedef.daddr64_t = long_long
74
+ rbx.platform.typedef.daddr_t = int
102
75
  rbx.platform.typedef.dev_t = ulong_long
103
76
  rbx.platform.typedef.fixpt_t = uint
104
77
  rbx.platform.typedef.gid_t = uint
105
78
  rbx.platform.typedef.id_t = uint
79
+ rbx.platform.typedef.in_addr_t = uint
80
+ rbx.platform.typedef.in_port_t = ushort
106
81
  rbx.platform.typedef.ino_t = ulong_long
82
+ rbx.platform.typedef.int16_t = short
83
+ rbx.platform.typedef.int32_t = int
84
+ rbx.platform.typedef.int64_t = long_long
85
+ rbx.platform.typedef.int8_t = char
86
+ rbx.platform.typedef.intptr_t = long
107
87
  rbx.platform.typedef.key_t = long
108
88
  rbx.platform.typedef.mode_t = uint
109
89
  rbx.platform.typedef.nlink_t = ulong_long
90
+ rbx.platform.typedef.off_t = long_long
91
+ rbx.platform.typedef.paddr_t = ulong
110
92
  rbx.platform.typedef.pid_t = int
93
+ rbx.platform.typedef.psize_t = ulong
94
+ rbx.platform.typedef.qaddr_t = pointer
95
+ rbx.platform.typedef.quad_t = long_long
96
+ rbx.platform.typedef.register_t = long_long
111
97
  rbx.platform.typedef.rlim_t = ulong_long
112
- rbx.platform.typedef.segsz_t = int
113
- rbx.platform.typedef.swblk_t = int
114
- rbx.platform.typedef.uid_t = uint
115
- rbx.platform.typedef.useconds_t = uint
116
- rbx.platform.typedef.suseconds_t = int
117
- rbx.platform.typedef.in_addr_t = uint
118
- rbx.platform.typedef.in_port_t = ushort
119
98
  rbx.platform.typedef.sa_family_t = uchar
120
- rbx.platform.typedef.socklen_t = uint
121
- rbx.platform.typedef.clock_t = int
122
- rbx.platform.typedef.clockid_t = int
99
+ rbx.platform.typedef.segsz_t = int
123
100
  rbx.platform.typedef.size_t = ulong
101
+ rbx.platform.typedef.socklen_t = uint
124
102
  rbx.platform.typedef.ssize_t = long
103
+ rbx.platform.typedef.suseconds_t = int
104
+ rbx.platform.typedef.swblk_t = int
125
105
  rbx.platform.typedef.time_t = int
126
106
  rbx.platform.typedef.timer_t = int
127
- rbx.platform.typedef.off_t = long_long
128
- rbx.platform.typedef.__fd_mask = int
107
+ rbx.platform.typedef.u_char = uchar
108
+ rbx.platform.typedef.u_int = uint
109
+ rbx.platform.typedef.u_int16_t = ushort
110
+ rbx.platform.typedef.u_int32_t = uint
111
+ rbx.platform.typedef.u_int64_t = ulong_long
112
+ rbx.platform.typedef.u_int8_t = uchar
113
+ rbx.platform.typedef.u_long = ulong
114
+ rbx.platform.typedef.u_quad_t = ulong_long
115
+ rbx.platform.typedef.u_short = ushort
116
+ rbx.platform.typedef.uid_t = uint
117
+ rbx.platform.typedef.uint = uint
118
+ rbx.platform.typedef.uint16_t = ushort
119
+ rbx.platform.typedef.uint32_t = uint
120
+ rbx.platform.typedef.uint64_t = ulong_long
121
+ rbx.platform.typedef.uint8_t = uchar
122
+ rbx.platform.typedef.uintptr_t = ulong
123
+ rbx.platform.typedef.ulong = ulong
124
+ rbx.platform.typedef.unchar = uchar
125
+ rbx.platform.typedef.useconds_t = uint
126
+ rbx.platform.typedef.ushort = ushort
127
+ rbx.platform.typedef.vaddr_t = ulong
128
+ rbx.platform.typedef.vsize_t = ulong