ffi 1.9.21 → 1.9.22

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 (151) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +3 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gitignore +22 -0
  5. data/.gitmodules +3 -0
  6. data/.travis.yml +52 -0
  7. data/.yardopts +5 -0
  8. data/Gemfile +15 -0
  9. data/{spec/ffi/LICENSE.SPECS → LICENSE.SPECS} +1 -1
  10. data/README.md +1 -1
  11. data/Rakefile +28 -3
  12. data/appveyor.yml +22 -0
  13. data/ext/ffi_c/Call.c +1 -22
  14. data/ext/ffi_c/Call.h +0 -9
  15. data/ext/ffi_c/Closure.c +54 -0
  16. data/ext/ffi_c/{ClosurePool.h → Closure.h} +13 -23
  17. data/ext/ffi_c/Function.c +16 -25
  18. data/ext/ffi_c/Function.h +1 -2
  19. data/ext/ffi_c/FunctionInfo.c +0 -4
  20. data/ext/ffi_c/MethodHandle.c +33 -268
  21. data/ext/ffi_c/extconf.rb +3 -3
  22. data/ext/ffi_c/ffi.c +2 -2
  23. data/ext/ffi_c/libffi.bsd.mk +3 -3
  24. data/ext/ffi_c/libffi.darwin.mk +1 -1
  25. data/ext/ffi_c/libffi.gnu.mk +1 -1
  26. data/ext/ffi_c/libffi.mk +2 -2
  27. data/ext/ffi_c/libffi.vc.mk +1 -1
  28. data/ext/ffi_c/libffi.vc64.mk +1 -1
  29. data/ext/ffi_c/libffi/.appveyor.yml +48 -0
  30. data/ext/ffi_c/libffi/.gitignore +36 -0
  31. data/ext/ffi_c/libffi/.travis.yml +30 -0
  32. data/ext/ffi_c/libffi/.travis/install.sh +14 -0
  33. data/ext/ffi_c/libffi/Makefile.am +5 -3
  34. data/ext/ffi_c/libffi/acinclude.m4 +6 -0
  35. data/ext/ffi_c/libffi/autogen.sh +1 -1
  36. data/ext/ffi_c/libffi/config.guess +1466 -0
  37. data/ext/ffi_c/libffi/config.sub +1836 -0
  38. data/ext/ffi_c/libffi/configure.ac +2 -2
  39. data/ext/ffi_c/libffi/configure.host +15 -3
  40. data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +11 -15
  41. data/ext/ffi_c/libffi/include/ffi.h.in +6 -1
  42. data/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +465 -59
  43. data/ext/ffi_c/libffi/src/aarch64/ffi.c +33 -10
  44. data/ext/ffi_c/libffi/src/aarch64/sysv.S +2 -2
  45. data/ext/ffi_c/libffi/src/arm/ffi.c +12 -1
  46. data/ext/ffi_c/libffi/src/arm/sysv.S +1 -1
  47. data/ext/ffi_c/libffi/src/closures.c +143 -97
  48. data/ext/ffi_c/libffi/src/ia64/unix.S +2 -0
  49. data/ext/ffi_c/libffi/src/mips/ffi.c +8 -0
  50. data/ext/ffi_c/libffi/src/mips/ffitarget.h +1 -1
  51. data/ext/ffi_c/libffi/src/mips/n32.S +2 -0
  52. data/ext/ffi_c/libffi/src/powerpc/aix.S +239 -1
  53. data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +250 -3
  54. data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +86 -5
  55. data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +3 -0
  56. data/ext/ffi_c/libffi/src/x86/ffi.c +3 -1
  57. data/ext/ffi_c/libffi/src/x86/ffi64.c +26 -5
  58. data/ext/ffi_c/libffi/src/x86/sysv.S +2 -2
  59. data/ext/ffi_c/libffi/src/x86/unix64.S +1 -1
  60. data/ext/ffi_c/libffi/src/x86/win64.S +1 -1
  61. data/ext/ffi_c/libffi/testsuite/Makefile.am +2 -1
  62. data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +2 -1
  63. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c +95 -0
  64. data/ffi.gemspec +14 -1
  65. data/lib/ffi/library.rb +1 -1
  66. data/lib/ffi/version.rb +1 -1
  67. data/samples/getlogin.rb +8 -0
  68. data/samples/getpid.rb +8 -0
  69. data/samples/gettimeofday.rb +18 -0
  70. data/samples/hello.rb +7 -0
  71. data/samples/inotify.rb +60 -0
  72. data/samples/pty.rb +76 -0
  73. data/samples/qsort.rb +21 -0
  74. data/samples/sample_helper.rb +6 -0
  75. metadata +59 -81
  76. metadata.gz.sig +0 -0
  77. data/ext/ffi_c/ClosurePool.c +0 -283
  78. data/gen/Rakefile +0 -30
  79. data/libtest/Benchmark.c +0 -52
  80. data/libtest/BoolTest.c +0 -34
  81. data/libtest/BufferTest.c +0 -31
  82. data/libtest/ClosureTest.c +0 -205
  83. data/libtest/EnumTest.c +0 -51
  84. data/libtest/FunctionTest.c +0 -70
  85. data/libtest/GNUmakefile +0 -149
  86. data/libtest/GlobalVariable.c +0 -62
  87. data/libtest/LastErrorTest.c +0 -21
  88. data/libtest/NumberTest.c +0 -132
  89. data/libtest/PointerTest.c +0 -63
  90. data/libtest/ReferenceTest.c +0 -23
  91. data/libtest/StringTest.c +0 -34
  92. data/libtest/StructTest.c +0 -243
  93. data/libtest/UnionTest.c +0 -43
  94. data/libtest/VariadicTest.c +0 -99
  95. data/spec/ffi/async_callback_spec.rb +0 -35
  96. data/spec/ffi/bitmask_spec.rb +0 -575
  97. data/spec/ffi/bool_spec.rb +0 -32
  98. data/spec/ffi/buffer_spec.rb +0 -279
  99. data/spec/ffi/callback_spec.rb +0 -773
  100. data/spec/ffi/custom_param_type.rb +0 -37
  101. data/spec/ffi/custom_type_spec.rb +0 -74
  102. data/spec/ffi/dup_spec.rb +0 -52
  103. data/spec/ffi/enum_spec.rb +0 -423
  104. data/spec/ffi/errno_spec.rb +0 -20
  105. data/spec/ffi/ffi_spec.rb +0 -28
  106. data/spec/ffi/fixtures/Benchmark.c +0 -52
  107. data/spec/ffi/fixtures/BitmaskTest.c +0 -51
  108. data/spec/ffi/fixtures/BoolTest.c +0 -34
  109. data/spec/ffi/fixtures/BufferTest.c +0 -31
  110. data/spec/ffi/fixtures/ClosureTest.c +0 -205
  111. data/spec/ffi/fixtures/EnumTest.c +0 -51
  112. data/spec/ffi/fixtures/FunctionTest.c +0 -142
  113. data/spec/ffi/fixtures/GNUmakefile +0 -149
  114. data/spec/ffi/fixtures/GlobalVariable.c +0 -62
  115. data/spec/ffi/fixtures/LastErrorTest.c +0 -21
  116. data/spec/ffi/fixtures/NumberTest.c +0 -132
  117. data/spec/ffi/fixtures/PipeHelper.h +0 -21
  118. data/spec/ffi/fixtures/PipeHelperPosix.c +0 -41
  119. data/spec/ffi/fixtures/PipeHelperWindows.c +0 -72
  120. data/spec/ffi/fixtures/PointerTest.c +0 -63
  121. data/spec/ffi/fixtures/ReferenceTest.c +0 -23
  122. data/spec/ffi/fixtures/StringTest.c +0 -34
  123. data/spec/ffi/fixtures/StructTest.c +0 -243
  124. data/spec/ffi/fixtures/UnionTest.c +0 -43
  125. data/spec/ffi/fixtures/VariadicTest.c +0 -99
  126. data/spec/ffi/fixtures/classes.rb +0 -438
  127. data/spec/ffi/function_spec.rb +0 -97
  128. data/spec/ffi/io_spec.rb +0 -16
  129. data/spec/ffi/library_spec.rb +0 -286
  130. data/spec/ffi/long_double.rb +0 -30
  131. data/spec/ffi/managed_struct_spec.rb +0 -68
  132. data/spec/ffi/memorypointer_spec.rb +0 -78
  133. data/spec/ffi/number_spec.rb +0 -247
  134. data/spec/ffi/platform_spec.rb +0 -114
  135. data/spec/ffi/pointer_spec.rb +0 -285
  136. data/spec/ffi/rbx/attach_function_spec.rb +0 -34
  137. data/spec/ffi/rbx/memory_pointer_spec.rb +0 -198
  138. data/spec/ffi/rbx/spec_helper.rb +0 -6
  139. data/spec/ffi/rbx/struct_spec.rb +0 -18
  140. data/spec/ffi/spec_helper.rb +0 -93
  141. data/spec/ffi/string_spec.rb +0 -118
  142. data/spec/ffi/strptr_spec.rb +0 -50
  143. data/spec/ffi/struct_by_ref_spec.rb +0 -43
  144. data/spec/ffi/struct_callback_spec.rb +0 -69
  145. data/spec/ffi/struct_initialize_spec.rb +0 -35
  146. data/spec/ffi/struct_packed_spec.rb +0 -50
  147. data/spec/ffi/struct_spec.rb +0 -882
  148. data/spec/ffi/typedef_spec.rb +0 -91
  149. data/spec/ffi/union_spec.rb +0 -67
  150. data/spec/ffi/variadic_spec.rb +0 -132
  151. data/spec/spec.opts +0 -4
@@ -191,13 +191,13 @@ fi
191
191
 
192
192
  FFI_EXEC_TRAMPOLINE_TABLE=0
193
193
  case "$target" in
194
- *arm*-apple-darwin* | aarch64-apple-darwin*)
194
+ *arm*-apple-* | aarch64-apple-*)
195
195
  FFI_EXEC_TRAMPOLINE_TABLE=1
196
196
  AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1,
197
197
  [Cannot use PROT_EXEC on this target, so, we revert to
198
198
  alternative means])
199
199
  ;;
200
- *-apple-darwin* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
200
+ *-apple-* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris* | *-linux-android*)
201
201
  AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
202
202
  [Cannot use malloc on this target, so, we revert to
203
203
  alternative means])
@@ -92,7 +92,7 @@ case "${host}" in
92
92
  fi
93
93
  ;;
94
94
 
95
- i?86-*-darwin* | x86_64-*-darwin*)
95
+ i?86-*-darwin* | x86_64-*-darwin* | i?86-*-ios | x86_64-*-ios)
96
96
  TARGETDIR=x86
97
97
  if test $ac_cv_sizeof_size_t = 4; then
98
98
  TARGET=X86_DARWIN
@@ -106,10 +106,18 @@ case "${host}" in
106
106
  if test $ac_cv_sizeof_size_t = 4; then
107
107
  case "$host" in
108
108
  x86_64-*x32|x86_64-x32-*)
109
+ TARGET_X32=yes
109
110
  TARGET=X86_64
110
111
  ;;
111
112
  *)
112
- TARGET=X86
113
+ echo 'int foo (void) { return __x86_64__; }' > conftest.c
114
+ if $CC $CFLAGS -Werror -S conftest.c -o conftest.s > /dev/null 2>&1; then
115
+ TARGET_X32=yes
116
+ TARGET=X86_64
117
+ else
118
+ TARGET=X86;
119
+ fi
120
+ rm -f conftest.*
113
121
  ;;
114
122
  esac
115
123
  else
@@ -255,7 +263,11 @@ case "${TARGET}" in
255
263
  SOURCES="ffi.c sysv.S"
256
264
  ;;
257
265
  X86_64)
258
- SOURCES="ffi64.c unix64.S ffiw64.c win64.S"
266
+ if test x"$TARGET_X32" = xyes; then
267
+ SOURCES="ffi64.c unix64.S"
268
+ else
269
+ SOURCES="ffi64.c unix64.S ffiw64.c win64.S"
270
+ fi
259
271
  ;;
260
272
  X86_WIN64)
261
273
  if test "$MSVC" = 1; then
@@ -19,7 +19,7 @@ class simulator_platform(Platform):
19
19
  prefix = "#ifdef __i386__\n\n"
20
20
  suffix = "\n\n#endif"
21
21
  src_dir = 'x86'
22
- src_files = ['sysv.S', 'ffi.c']
22
+ src_files = ['sysv.S', 'ffi.c', 'internal.h']
23
23
 
24
24
 
25
25
  class simulator64_platform(Platform):
@@ -32,7 +32,7 @@ class simulator64_platform(Platform):
32
32
  prefix = "#ifdef __x86_64__\n\n"
33
33
  suffix = "\n\n#endif"
34
34
  src_dir = 'x86'
35
- src_files = ['unix64.S', 'ffi64.c']
35
+ src_files = ['unix64.S', 'ffi64.c', 'ffiw64.c', 'win64.S', 'internal64.h', 'asmnames.h']
36
36
 
37
37
 
38
38
  class device_platform(Platform):
@@ -45,7 +45,7 @@ class device_platform(Platform):
45
45
  prefix = "#ifdef __arm__\n\n"
46
46
  suffix = "\n\n#endif"
47
47
  src_dir = 'arm'
48
- src_files = ['sysv.S', 'trampoline.S', 'ffi.c']
48
+ src_files = ['sysv.S', 'ffi.c', 'internal.h']
49
49
 
50
50
 
51
51
  class device64_platform(Platform):
@@ -58,7 +58,7 @@ class device64_platform(Platform):
58
58
  prefix = "#ifdef __arm64__\n\n"
59
59
  suffix = "\n\n#endif"
60
60
  src_dir = 'aarch64'
61
- src_files = ['sysv.S', 'ffi.c']
61
+ src_files = ['sysv.S', 'ffi.c', 'internal.h']
62
62
 
63
63
 
64
64
  class desktop32_platform(Platform):
@@ -68,7 +68,7 @@ class desktop32_platform(Platform):
68
68
  triple = 'i386-apple-darwin10'
69
69
  version_min = '-mmacosx-version-min=10.6'
70
70
  src_dir = 'x86'
71
- src_files = ['sysv.S', 'ffi.c']
71
+ src_files = ['sysv.S', 'ffi.c', 'internal.h']
72
72
 
73
73
  prefix = "#ifdef __i386__\n\n"
74
74
  suffix = "\n\n#endif"
@@ -84,7 +84,7 @@ class desktop64_platform(Platform):
84
84
  prefix = "#ifdef __x86_64__\n\n"
85
85
  suffix = "\n\n#endif"
86
86
  src_dir = 'x86'
87
- src_files = ['unix64.S', 'ffi64.c']
87
+ src_files = ['unix64.S', 'ffi64.c', 'ffiw64.c', 'win64.S', 'internal64.h', 'asmnames.h']
88
88
 
89
89
 
90
90
  def mkdir_p(path):
@@ -100,8 +100,11 @@ def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''
100
100
  out_filename = filename
101
101
 
102
102
  if file_suffix:
103
- split_name = os.path.splitext(filename)
104
- out_filename = "%s_%s%s" % (split_name[0], file_suffix, split_name[1])
103
+ if filename in ['internal64.h', 'asmnames.h', 'internal.h']:
104
+ out_filename = filename
105
+ else:
106
+ split_name = os.path.splitext(filename)
107
+ out_filename = "%s_%s%s" % (split_name[0], file_suffix, split_name[1])
105
108
 
106
109
  with open(os.path.join(src_dir, filename)) as in_file:
107
110
  with open(os.path.join(dst_dir, out_filename), 'w') as out_file:
@@ -160,18 +163,11 @@ def build_target(platform, platform_headers):
160
163
  platform_headers[filename].add((platform.prefix, platform.arch, platform.suffix))
161
164
 
162
165
 
163
- def make_tramp():
164
- with open('src/arm/trampoline.S', 'w') as tramp_out:
165
- p = subprocess.Popen(['bash', 'src/arm/gentramp.sh'], stdout=tramp_out)
166
- p.wait()
167
-
168
-
169
166
  def generate_source_and_headers(generate_osx=True, generate_ios=True):
170
167
  copy_files('src', 'darwin_common/src', pattern='*.c')
171
168
  copy_files('include', 'darwin_common/include', pattern='*.h')
172
169
 
173
170
  if generate_ios:
174
- make_tramp()
175
171
  copy_src_platform_files(simulator_platform)
176
172
  copy_src_platform_files(simulator64_platform)
177
173
  copy_src_platform_files(device_platform)
@@ -315,7 +315,12 @@ ffi_prep_closure (ffi_closure*,
315
315
  ffi_cif *,
316
316
  void (*fun)(ffi_cif*,void*,void**,void*),
317
317
  void *user_data)
318
- __attribute__((deprecated ("use ffi_prep_closure_loc instead")));
318
+ #if defined(__GNUC__) && (((__GNUC__ * 100) + __GNUC_MINOR__) >= 405)
319
+ __attribute__((deprecated ("use ffi_prep_closure_loc instead")))
320
+ #elif defined(__GNUC__) && __GNUC__ >= 3
321
+ __attribute__((deprecated))
322
+ #endif
323
+ ;
319
324
 
320
325
  ffi_status
321
326
  ffi_prep_closure_loc (ffi_closure*,
@@ -7,6 +7,10 @@
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
+ 43B5D3F81D35473200D1E1FD /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */; };
11
+ 43B5D3FA1D3547CE00D1E1FD /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */; };
12
+ 43E9A5C71D352C1500926A8F /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C51D352C1500926A8F /* sysv_i386.S */; };
13
+ 43E9A5C81D352C1500926A8F /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */; };
10
14
  DBFA714A187F1D8600A76262 /* ffi.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
11
15
  DBFA714B187F1D8600A76262 /* ffi_common.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA713F187F1D8600A76262 /* ffi_common.h */; };
12
16
  DBFA714C187F1D8600A76262 /* fficonfig.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7140187F1D8600A76262 /* fficonfig.h */; };
@@ -23,9 +27,6 @@
23
27
  DBFA7178187F1D9B00A76262 /* sysv_arm64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716D187F1D9B00A76262 /* sysv_arm64.S */; };
24
28
  DBFA7179187F1D9B00A76262 /* ffi_armv7.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716F187F1D9B00A76262 /* ffi_armv7.c */; };
25
29
  DBFA717A187F1D9B00A76262 /* sysv_armv7.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7170187F1D9B00A76262 /* sysv_armv7.S */; };
26
- DBFA717B187F1D9B00A76262 /* trampoline_armv7.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7171187F1D9B00A76262 /* trampoline_armv7.S */; };
27
- DBFA717C187F1D9B00A76262 /* darwin64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7173187F1D9B00A76262 /* darwin64_x86_64.S */; };
28
- DBFA717D187F1D9B00A76262 /* darwin_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7174187F1D9B00A76262 /* darwin_i386.S */; };
29
30
  DBFA717E187F1D9B00A76262 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */; };
30
31
  DBFA717F187F1D9B00A76262 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7176187F1D9B00A76262 /* ffi_i386.c */; };
31
32
  DBFA718E187F1DA100A76262 /* ffi_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7182187F1DA100A76262 /* ffi_i386.h */; };
@@ -34,25 +35,117 @@
34
35
  DBFA7191187F1DA100A76262 /* fficonfig_x86_64.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7185187F1DA100A76262 /* fficonfig_x86_64.h */; };
35
36
  DBFA7192187F1DA100A76262 /* ffitarget_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7186187F1DA100A76262 /* ffitarget_i386.h */; };
36
37
  DBFA7193187F1DA100A76262 /* ffitarget_x86_64.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */; };
37
- DBFA7194187F1DA100A76262 /* darwin64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718A187F1DA100A76262 /* darwin64_x86_64.S */; };
38
- DBFA7195187F1DA100A76262 /* darwin_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718B187F1DA100A76262 /* darwin_i386.S */; };
38
+ DBFA7194187F1DA100A76262 /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718A187F1DA100A76262 /* unix64_x86_64.S */; };
39
+ DBFA7195187F1DA100A76262 /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718B187F1DA100A76262 /* sysv_i386.S */; };
39
40
  DBFA7196187F1DA100A76262 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */; };
40
41
  DBFA7197187F1DA100A76262 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718D187F1DA100A76262 /* ffi_i386.c */; };
42
+ FDB52FB31F6144FA00AA92E6 /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */; };
43
+ FDB52FB41F6144FA00AA92E6 /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C51D352C1500926A8F /* sysv_i386.S */; };
44
+ FDB52FB51F6144FA00AA92E6 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */; };
45
+ FDB52FB61F6144FA00AA92E6 /* ffi_armv7.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716F187F1D9B00A76262 /* ffi_armv7.c */; };
46
+ FDB52FB71F6144FA00AA92E6 /* closures.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7143187F1D8600A76262 /* closures.c */; };
47
+ FDB52FB81F6144FA00AA92E6 /* sysv_armv7.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7170187F1D9B00A76262 /* sysv_armv7.S */; };
48
+ FDB52FB91F6144FA00AA92E6 /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */; };
49
+ FDB52FBA1F6144FA00AA92E6 /* prep_cif.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7147187F1D8600A76262 /* prep_cif.c */; };
50
+ FDB52FBB1F6144FA00AA92E6 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7176187F1D9B00A76262 /* ffi_i386.c */; };
51
+ FDB52FBC1F6144FA00AA92E6 /* raw_api.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7148187F1D8600A76262 /* raw_api.c */; };
52
+ FDB52FBD1F6144FA00AA92E6 /* sysv_arm64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716D187F1D9B00A76262 /* sysv_arm64.S */; };
53
+ FDB52FBE1F6144FA00AA92E6 /* types.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7149187F1D8600A76262 /* types.c */; };
54
+ FDB52FBF1F6144FA00AA92E6 /* ffi_arm64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716C187F1D9B00A76262 /* ffi_arm64.c */; };
55
+ FDB52FC01F6144FA00AA92E6 /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */; };
56
+ FDB52FD01F614A8B00AA92E6 /* ffi.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
57
+ FDB52FD11F614AA700AA92E6 /* ffi_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715E187F1D9B00A76262 /* ffi_arm64.h */; };
58
+ FDB52FD21F614AAB00AA92E6 /* ffi_armv7.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715F187F1D9B00A76262 /* ffi_armv7.h */; };
59
+ FDB52FD31F614AB000AA92E6 /* ffi_i386.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7160187F1D9B00A76262 /* ffi_i386.h */; };
60
+ FDB52FD41F614AB500AA92E6 /* ffi_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7161187F1D9B00A76262 /* ffi_x86_64.h */; };
61
+ FDB52FD51F614AE200AA92E6 /* ffi.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
62
+ FDB52FD61F614AEA00AA92E6 /* ffi_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715E187F1D9B00A76262 /* ffi_arm64.h */; };
63
+ FDB52FD71F614AED00AA92E6 /* ffi_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7161187F1D9B00A76262 /* ffi_x86_64.h */; };
64
+ FDB52FD81F614B8700AA92E6 /* ffitarget.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7141187F1D8600A76262 /* ffitarget.h */; };
65
+ FDB52FD91F614B8E00AA92E6 /* ffitarget_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */; };
66
+ FDB52FDA1F614B9300AA92E6 /* ffitarget_armv7.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7167187F1D9B00A76262 /* ffitarget_armv7.h */; };
67
+ FDB52FDB1F614B9700AA92E6 /* ffitarget_i386.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7168187F1D9B00A76262 /* ffitarget_i386.h */; };
68
+ FDB52FDD1F614BA900AA92E6 /* ffitarget_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */; };
69
+ FDB52FDE1F6155E300AA92E6 /* ffitarget.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7141187F1D8600A76262 /* ffitarget.h */; };
70
+ FDB52FDF1F6155EA00AA92E6 /* ffitarget_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */; };
71
+ FDB52FE01F6155EF00AA92E6 /* ffitarget_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */; };
72
+ FDB52FE21F6156FA00AA92E6 /* ffi.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
73
+ FDB52FE31F61571A00AA92E6 /* ffi_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7183187F1DA100A76262 /* ffi_x86_64.h */; };
74
+ FDB52FE41F61571D00AA92E6 /* ffitarget.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7141187F1D8600A76262 /* ffitarget.h */; };
75
+ FDB52FE61F61573100AA92E6 /* ffitarget_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */; };
76
+ FDDB2F411F5D66E200EF414E /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */; };
77
+ FDDB2F461F5D691E00EF414E /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F441F5D68C900EF414E /* win64_x86_64.S */; };
78
+ FDDB2F4A1F5D846400EF414E /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */; };
79
+ FDDB2F4B1F5D846400EF414E /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718B187F1DA100A76262 /* sysv_i386.S */; };
80
+ FDDB2F4C1F5D846400EF414E /* prep_cif.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7147187F1D8600A76262 /* prep_cif.c */; };
81
+ FDDB2F4D1F5D846400EF414E /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718D187F1DA100A76262 /* ffi_i386.c */; };
82
+ FDDB2F4E1F5D846400EF414E /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */; };
83
+ FDDB2F4F1F5D846400EF414E /* types.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7149187F1D8600A76262 /* types.c */; };
84
+ FDDB2F501F5D846400EF414E /* raw_api.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7148187F1D8600A76262 /* raw_api.c */; };
85
+ FDDB2F511F5D846400EF414E /* closures.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7143187F1D8600A76262 /* closures.c */; };
86
+ FDDB2F521F5D846400EF414E /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718A187F1DA100A76262 /* unix64_x86_64.S */; };
87
+ FDDB2F531F5D846400EF414E /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F441F5D68C900EF414E /* win64_x86_64.S */; };
41
88
  /* End PBXBuildFile section */
42
89
 
43
90
  /* Begin PBXCopyFilesBuildPhase section */
44
91
  DB13B1641849DF1E0010F42D /* CopyFiles */ = {
45
92
  isa = PBXCopyFilesBuildPhase;
46
- buildActionMask = 8;
93
+ buildActionMask = 12;
47
94
  dstPath = "include/$(PRODUCT_NAME)";
48
95
  dstSubfolderSpec = 16;
49
96
  files = (
97
+ FDB52FD01F614A8B00AA92E6 /* ffi.h in CopyFiles */,
98
+ FDB52FD11F614AA700AA92E6 /* ffi_arm64.h in CopyFiles */,
99
+ FDB52FD21F614AAB00AA92E6 /* ffi_armv7.h in CopyFiles */,
100
+ FDB52FD31F614AB000AA92E6 /* ffi_i386.h in CopyFiles */,
101
+ FDB52FD41F614AB500AA92E6 /* ffi_x86_64.h in CopyFiles */,
102
+ FDB52FD81F614B8700AA92E6 /* ffitarget.h in CopyFiles */,
103
+ FDB52FD91F614B8E00AA92E6 /* ffitarget_arm64.h in CopyFiles */,
104
+ FDB52FDA1F614B9300AA92E6 /* ffitarget_armv7.h in CopyFiles */,
105
+ FDB52FDB1F614B9700AA92E6 /* ffitarget_i386.h in CopyFiles */,
106
+ FDB52FDD1F614BA900AA92E6 /* ffitarget_x86_64.h in CopyFiles */,
50
107
  );
51
- runOnlyForDeploymentPostprocessing = 1;
108
+ runOnlyForDeploymentPostprocessing = 0;
109
+ };
110
+ FDB52FC11F6144FA00AA92E6 /* CopyFiles */ = {
111
+ isa = PBXCopyFilesBuildPhase;
112
+ buildActionMask = 12;
113
+ dstPath = "include/$(PRODUCT_NAME)";
114
+ dstSubfolderSpec = 16;
115
+ files = (
116
+ FDB52FD51F614AE200AA92E6 /* ffi.h in CopyFiles */,
117
+ FDB52FD61F614AEA00AA92E6 /* ffi_arm64.h in CopyFiles */,
118
+ FDB52FD71F614AED00AA92E6 /* ffi_x86_64.h in CopyFiles */,
119
+ FDB52FDE1F6155E300AA92E6 /* ffitarget.h in CopyFiles */,
120
+ FDB52FDF1F6155EA00AA92E6 /* ffitarget_arm64.h in CopyFiles */,
121
+ FDB52FE01F6155EF00AA92E6 /* ffitarget_x86_64.h in CopyFiles */,
122
+ );
123
+ runOnlyForDeploymentPostprocessing = 0;
124
+ };
125
+ FDB52FE11F6156E000AA92E6 /* CopyFiles */ = {
126
+ isa = PBXCopyFilesBuildPhase;
127
+ buildActionMask = 2147483647;
128
+ dstPath = "include/$(PRODUCT_NAME)";
129
+ dstSubfolderSpec = 16;
130
+ files = (
131
+ FDB52FE21F6156FA00AA92E6 /* ffi.h in CopyFiles */,
132
+ FDB52FE31F61571A00AA92E6 /* ffi_x86_64.h in CopyFiles */,
133
+ FDB52FE41F61571D00AA92E6 /* ffitarget.h in CopyFiles */,
134
+ FDB52FE61F61573100AA92E6 /* ffitarget_x86_64.h in CopyFiles */,
135
+ );
136
+ runOnlyForDeploymentPostprocessing = 0;
52
137
  };
53
138
  /* End PBXCopyFilesBuildPhase section */
54
139
 
55
140
  /* Begin PBXFileReference section */
141
+ 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffiw64_x86_64.c; sourceTree = "<group>"; };
142
+ 43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = win64_x86_64.S; sourceTree = "<group>"; };
143
+ 43E9A5C51D352C1500926A8F /* sysv_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_i386.S; sourceTree = "<group>"; };
144
+ 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = unix64_x86_64.S; sourceTree = "<group>"; };
145
+ 43E9A5DA1D35373600926A8F /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
146
+ 43E9A5DB1D35374400926A8F /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
147
+ 43E9A5DC1D35375400926A8F /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
148
+ 43E9A5DD1D35375400926A8F /* internal64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal64.h; sourceTree = "<group>"; };
56
149
  DB13B1661849DF1E0010F42D /* libffi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libffi.a; sourceTree = BUILT_PRODUCTS_DIR; };
57
150
  DB13B1911849DF510010F42D /* ffi.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = ffi.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
58
151
  DBFA713E187F1D8600A76262 /* ffi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi.h; sourceTree = "<group>"; };
@@ -76,13 +169,10 @@
76
169
  DBFA7167187F1D9B00A76262 /* ffitarget_armv7.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_armv7.h; sourceTree = "<group>"; };
77
170
  DBFA7168187F1D9B00A76262 /* ffitarget_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_i386.h; sourceTree = "<group>"; };
78
171
  DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_x86_64.h; sourceTree = "<group>"; };
79
- DBFA716C187F1D9B00A76262 /* ffi_arm64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_arm64.c; sourceTree = "<group>"; };
172
+ DBFA716C187F1D9B00A76262 /* ffi_arm64.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi_arm64.c; sourceTree = "<group>"; };
80
173
  DBFA716D187F1D9B00A76262 /* sysv_arm64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_arm64.S; sourceTree = "<group>"; };
81
- DBFA716F187F1D9B00A76262 /* ffi_armv7.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_armv7.c; sourceTree = "<group>"; };
174
+ DBFA716F187F1D9B00A76262 /* ffi_armv7.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi_armv7.c; sourceTree = "<group>"; };
82
175
  DBFA7170187F1D9B00A76262 /* sysv_armv7.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_armv7.S; sourceTree = "<group>"; };
83
- DBFA7171187F1D9B00A76262 /* trampoline_armv7.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = trampoline_armv7.S; sourceTree = "<group>"; };
84
- DBFA7173187F1D9B00A76262 /* darwin64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = darwin64_x86_64.S; sourceTree = "<group>"; };
85
- DBFA7174187F1D9B00A76262 /* darwin_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = darwin_i386.S; sourceTree = "<group>"; };
86
176
  DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi64_x86_64.c; sourceTree = "<group>"; };
87
177
  DBFA7176187F1D9B00A76262 /* ffi_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_i386.c; sourceTree = "<group>"; };
88
178
  DBFA7182187F1DA100A76262 /* ffi_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_i386.h; sourceTree = "<group>"; };
@@ -91,10 +181,17 @@
91
181
  DBFA7185187F1DA100A76262 /* fficonfig_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_x86_64.h; sourceTree = "<group>"; };
92
182
  DBFA7186187F1DA100A76262 /* ffitarget_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_i386.h; sourceTree = "<group>"; };
93
183
  DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_x86_64.h; sourceTree = "<group>"; };
94
- DBFA718A187F1DA100A76262 /* darwin64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = darwin64_x86_64.S; sourceTree = "<group>"; };
95
- DBFA718B187F1DA100A76262 /* darwin_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = darwin_i386.S; sourceTree = "<group>"; };
96
- DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi64_x86_64.c; sourceTree = "<group>"; };
184
+ DBFA718A187F1DA100A76262 /* unix64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = unix64_x86_64.S; sourceTree = "<group>"; };
185
+ DBFA718B187F1DA100A76262 /* sysv_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_i386.S; sourceTree = "<group>"; };
186
+ DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi64_x86_64.c; sourceTree = "<group>"; };
97
187
  DBFA718D187F1DA100A76262 /* ffi_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_i386.c; sourceTree = "<group>"; };
188
+ FDB52FC51F6144FA00AA92E6 /* libffi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libffi.a; sourceTree = BUILT_PRODUCTS_DIR; };
189
+ FDDB2F3E1F5D61BC00EF414E /* asmnames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = asmnames.h; sourceTree = "<group>"; };
190
+ FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffiw64_x86_64.c; sourceTree = "<group>"; };
191
+ FDDB2F421F5D68C900EF414E /* internal64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal64.h; sourceTree = "<group>"; };
192
+ FDDB2F431F5D68C900EF414E /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
193
+ FDDB2F441F5D68C900EF414E /* win64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = win64_x86_64.S; sourceTree = "<group>"; };
194
+ FDDB2F621F5D846400EF414E /* libffi.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libffi.a; sourceTree = BUILT_PRODUCTS_DIR; };
98
195
  /* End PBXFileReference section */
99
196
 
100
197
  /* Begin PBXGroup section */
@@ -113,6 +210,8 @@
113
210
  children = (
114
211
  DB13B1661849DF1E0010F42D /* libffi.a */,
115
212
  DB13B1911849DF510010F42D /* ffi.dylib */,
213
+ FDDB2F621F5D846400EF414E /* libffi.a */,
214
+ FDB52FC51F6144FA00AA92E6 /* libffi.a */,
116
215
  );
117
216
  name = Products;
118
217
  sourceTree = "<group>";
@@ -123,7 +222,7 @@
123
222
  DBFA713D187F1D8600A76262 /* include */,
124
223
  DBFA7142187F1D8600A76262 /* src */,
125
224
  );
126
- path = "darwin_common";
225
+ path = darwin_common;
127
226
  sourceTree = "<group>";
128
227
  };
129
228
  DBFA713D187F1D8600A76262 /* include */ = {
@@ -155,7 +254,7 @@
155
254
  DBFA715D187F1D9B00A76262 /* include */,
156
255
  DBFA716A187F1D9B00A76262 /* src */,
157
256
  );
158
- path = "darwin_ios";
257
+ path = darwin_ios;
159
258
  sourceTree = "<group>";
160
259
  };
161
260
  DBFA715D187F1D9B00A76262 /* include */ = {
@@ -190,6 +289,7 @@
190
289
  DBFA716B187F1D9B00A76262 /* aarch64 */ = {
191
290
  isa = PBXGroup;
192
291
  children = (
292
+ 43E9A5DA1D35373600926A8F /* internal.h */,
193
293
  DBFA716C187F1D9B00A76262 /* ffi_arm64.c */,
194
294
  DBFA716D187F1D9B00A76262 /* sysv_arm64.S */,
195
295
  );
@@ -199,9 +299,9 @@
199
299
  DBFA716E187F1D9B00A76262 /* arm */ = {
200
300
  isa = PBXGroup;
201
301
  children = (
302
+ 43E9A5DB1D35374400926A8F /* internal.h */,
202
303
  DBFA716F187F1D9B00A76262 /* ffi_armv7.c */,
203
304
  DBFA7170187F1D9B00A76262 /* sysv_armv7.S */,
204
- DBFA7171187F1D9B00A76262 /* trampoline_armv7.S */,
205
305
  );
206
306
  path = arm;
207
307
  sourceTree = "<group>";
@@ -209,10 +309,14 @@
209
309
  DBFA7172187F1D9B00A76262 /* x86 */ = {
210
310
  isa = PBXGroup;
211
311
  children = (
212
- DBFA7173187F1D9B00A76262 /* darwin64_x86_64.S */,
213
- DBFA7174187F1D9B00A76262 /* darwin_i386.S */,
312
+ 43E9A5DC1D35375400926A8F /* internal.h */,
313
+ 43E9A5DD1D35375400926A8F /* internal64.h */,
214
314
  DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */,
315
+ 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */,
215
316
  DBFA7176187F1D9B00A76262 /* ffi_i386.c */,
317
+ 43E9A5C51D352C1500926A8F /* sysv_i386.S */,
318
+ 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */,
319
+ 43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */,
216
320
  );
217
321
  path = x86;
218
322
  sourceTree = "<group>";
@@ -223,7 +327,7 @@
223
327
  DBFA7181187F1DA100A76262 /* include */,
224
328
  DBFA7188187F1DA100A76262 /* src */,
225
329
  );
226
- path = "darwin_osx";
330
+ path = darwin_osx;
227
331
  sourceTree = "<group>";
228
332
  };
229
333
  DBFA7181187F1DA100A76262 /* include */ = {
@@ -250,10 +354,15 @@
250
354
  DBFA7189187F1DA100A76262 /* x86 */ = {
251
355
  isa = PBXGroup;
252
356
  children = (
253
- DBFA718A187F1DA100A76262 /* darwin64_x86_64.S */,
254
- DBFA718B187F1DA100A76262 /* darwin_i386.S */,
357
+ FDDB2F431F5D68C900EF414E /* internal.h */,
358
+ FDDB2F421F5D68C900EF414E /* internal64.h */,
359
+ FDDB2F3E1F5D61BC00EF414E /* asmnames.h */,
255
360
  DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */,
361
+ FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */,
256
362
  DBFA718D187F1DA100A76262 /* ffi_i386.c */,
363
+ DBFA718B187F1DA100A76262 /* sysv_i386.S */,
364
+ DBFA718A187F1DA100A76262 /* unix64_x86_64.S */,
365
+ FDDB2F441F5D68C900EF414E /* win64_x86_64.S */,
257
366
  );
258
367
  path = x86;
259
368
  sourceTree = "<group>";
@@ -285,7 +394,7 @@
285
394
  isa = PBXNativeTarget;
286
395
  buildConfigurationList = DB13B18B1849DF1E0010F42D /* Build configuration list for PBXNativeTarget "libffi-iOS" */;
287
396
  buildPhases = (
288
- DB13B3051849E01C0010F42D /* ShellScript */,
397
+ 43B5D3FB1D35480D00D1E1FD /* Run Script */,
289
398
  DB13B1621849DF1E0010F42D /* Sources */,
290
399
  DB13B1641849DF1E0010F42D /* CopyFiles */,
291
400
  );
@@ -315,13 +424,47 @@
315
424
  productReference = DB13B1911849DF510010F42D /* ffi.dylib */;
316
425
  productType = "com.apple.product-type.library.dynamic";
317
426
  };
427
+ FDB52FB01F6144FA00AA92E6 /* libffi-tvOS */ = {
428
+ isa = PBXNativeTarget;
429
+ buildConfigurationList = FDB52FC21F6144FA00AA92E6 /* Build configuration list for PBXNativeTarget "libffi-tvOS" */;
430
+ buildPhases = (
431
+ FDB52FB11F6144FA00AA92E6 /* Run Script */,
432
+ FDB52FB21F6144FA00AA92E6 /* Sources */,
433
+ FDB52FC11F6144FA00AA92E6 /* CopyFiles */,
434
+ );
435
+ buildRules = (
436
+ );
437
+ dependencies = (
438
+ );
439
+ name = "libffi-tvOS";
440
+ productName = ffi;
441
+ productReference = FDB52FC51F6144FA00AA92E6 /* libffi.a */;
442
+ productType = "com.apple.product-type.library.static";
443
+ };
444
+ FDDB2F471F5D846400EF414E /* libffi-static-Mac */ = {
445
+ isa = PBXNativeTarget;
446
+ buildConfigurationList = FDDB2F5F1F5D846400EF414E /* Build configuration list for PBXNativeTarget "libffi-static-Mac" */;
447
+ buildPhases = (
448
+ FDDB2F481F5D846400EF414E /* ShellScript */,
449
+ FDDB2F491F5D846400EF414E /* Sources */,
450
+ FDB52FE11F6156E000AA92E6 /* CopyFiles */,
451
+ );
452
+ buildRules = (
453
+ );
454
+ dependencies = (
455
+ );
456
+ name = "libffi-static-Mac";
457
+ productName = ffi;
458
+ productReference = FDDB2F621F5D846400EF414E /* libffi.a */;
459
+ productType = "com.apple.product-type.library.dynamic";
460
+ };
318
461
  /* End PBXNativeTarget section */
319
462
 
320
463
  /* Begin PBXProject section */
321
464
  DB13B15C1849DEB70010F42D /* Project object */ = {
322
465
  isa = PBXProject;
323
466
  attributes = {
324
- LastUpgradeCheck = 0510;
467
+ LastUpgradeCheck = 0830;
325
468
  };
326
469
  buildConfigurationList = DB13B15F1849DEB70010F42D /* Build configuration list for PBXProject "libffi" */;
327
470
  compatibilityVersion = "Xcode 3.2";
@@ -336,24 +479,27 @@
336
479
  projectRoot = "";
337
480
  targets = (
338
481
  DB13B1651849DF1E0010F42D /* libffi-iOS */,
482
+ FDB52FB01F6144FA00AA92E6 /* libffi-tvOS */,
339
483
  DB13B1901849DF510010F42D /* libffi-Mac */,
484
+ FDDB2F471F5D846400EF414E /* libffi-static-Mac */,
340
485
  );
341
486
  };
342
487
  /* End PBXProject section */
343
488
 
344
489
  /* Begin PBXShellScriptBuildPhase section */
345
- DB13B3051849E01C0010F42D /* ShellScript */ = {
490
+ 43B5D3FB1D35480D00D1E1FD /* Run Script */ = {
346
491
  isa = PBXShellScriptBuildPhase;
347
492
  buildActionMask = 2147483647;
348
493
  files = (
349
494
  );
350
495
  inputPaths = (
351
496
  );
497
+ name = "Run Script";
352
498
  outputPaths = (
353
499
  );
354
500
  runOnlyForDeploymentPostprocessing = 0;
355
501
  shellPath = /bin/sh;
356
- shellScript = "/usr/bin/python generate-darwin-source-and-headers.py --only-ios";
502
+ shellScript = "if [ ! -f \"./compile\" ]\nthen\nautoreconf -i -f -v\nif [ -f \"../ltmain.sh\" ]\nthen\necho \"fixing ltmain.sh for some reason\"\nmv ../ltmain.sh ./\nautoreconf -i -f -v\nfi\n/usr/bin/python generate-darwin-source-and-headers.py --only-ios\nfi";
357
503
  };
358
504
  DB13B3061849E0490010F42D /* ShellScript */ = {
359
505
  isa = PBXShellScriptBuildPhase;
@@ -366,7 +512,34 @@
366
512
  );
367
513
  runOnlyForDeploymentPostprocessing = 0;
368
514
  shellPath = /bin/sh;
369
- shellScript = "/usr/bin/python generate-darwin-source-and-headers.py --only-osx";
515
+ shellScript = "if [ ! -f \"./compile\" ]\nthen\nautoreconf -i -f -v\nif [ -f \"../ltmain.sh\" ]\nthen\necho \"fixing ltmain.sh for some reason\"\nmv ../ltmain.sh ./\nautoreconf -i -f -v\nfi\n/usr/bin/python generate-darwin-source-and-headers.py --only-osx\nfi";
516
+ };
517
+ FDB52FB11F6144FA00AA92E6 /* Run Script */ = {
518
+ isa = PBXShellScriptBuildPhase;
519
+ buildActionMask = 2147483647;
520
+ files = (
521
+ );
522
+ inputPaths = (
523
+ );
524
+ name = "Run Script";
525
+ outputPaths = (
526
+ );
527
+ runOnlyForDeploymentPostprocessing = 0;
528
+ shellPath = /bin/sh;
529
+ shellScript = "if [ ! -f \"./compile\" ]\nthen\nautoreconf -i -f -v\nif [ -f \"../ltmain.sh\" ]\nthen\necho \"fixing ltmain.sh for some reason\"\nmv ../ltmain.sh ./\nautoreconf -i -f -v\nfi\n/usr/bin/python generate-darwin-source-and-headers.py --only-ios\nfi";
530
+ };
531
+ FDDB2F481F5D846400EF414E /* ShellScript */ = {
532
+ isa = PBXShellScriptBuildPhase;
533
+ buildActionMask = 2147483647;
534
+ files = (
535
+ );
536
+ inputPaths = (
537
+ );
538
+ outputPaths = (
539
+ );
540
+ runOnlyForDeploymentPostprocessing = 0;
541
+ shellPath = /bin/sh;
542
+ shellScript = "if [ ! -f \"./compile\" ]\nthen\nautoreconf -i -f -v\nif [ -f \"../ltmain.sh\" ]\nthen\necho \"fixing ltmain.sh for some reason\"\nmv ../ltmain.sh ./\nautoreconf -i -f -v\nfi\n/usr/bin/python generate-darwin-source-and-headers.py --only-osx\nfi";
370
543
  };
371
544
  /* End PBXShellScriptBuildPhase section */
372
545
 
@@ -375,19 +548,20 @@
375
548
  isa = PBXSourcesBuildPhase;
376
549
  buildActionMask = 2147483647;
377
550
  files = (
551
+ 43E9A5C81D352C1500926A8F /* unix64_x86_64.S in Sources */,
552
+ 43E9A5C71D352C1500926A8F /* sysv_i386.S in Sources */,
378
553
  DBFA717E187F1D9B00A76262 /* ffi64_x86_64.c in Sources */,
379
554
  DBFA7179187F1D9B00A76262 /* ffi_armv7.c in Sources */,
380
- DBFA717B187F1D9B00A76262 /* trampoline_armv7.S in Sources */,
381
555
  DBFA714E187F1D8600A76262 /* closures.c in Sources */,
382
556
  DBFA717A187F1D9B00A76262 /* sysv_armv7.S in Sources */,
383
- DBFA717D187F1D9B00A76262 /* darwin_i386.S in Sources */,
557
+ 43B5D3F81D35473200D1E1FD /* ffiw64_x86_64.c in Sources */,
384
558
  DBFA7156187F1D8600A76262 /* prep_cif.c in Sources */,
385
559
  DBFA717F187F1D9B00A76262 /* ffi_i386.c in Sources */,
386
560
  DBFA7158187F1D8600A76262 /* raw_api.c in Sources */,
387
561
  DBFA7178187F1D9B00A76262 /* sysv_arm64.S in Sources */,
388
- DBFA717C187F1D9B00A76262 /* darwin64_x86_64.S in Sources */,
389
562
  DBFA715A187F1D8600A76262 /* types.c in Sources */,
390
563
  DBFA7177187F1D9B00A76262 /* ffi_arm64.c in Sources */,
564
+ 43B5D3FA1D3547CE00D1E1FD /* win64_x86_64.S in Sources */,
391
565
  );
392
566
  runOnlyForDeploymentPostprocessing = 0;
393
567
  };
@@ -396,13 +570,53 @@
396
570
  buildActionMask = 2147483647;
397
571
  files = (
398
572
  DBFA7196187F1DA100A76262 /* ffi64_x86_64.c in Sources */,
399
- DBFA7195187F1DA100A76262 /* darwin_i386.S in Sources */,
573
+ DBFA7195187F1DA100A76262 /* sysv_i386.S in Sources */,
400
574
  DBFA7157187F1D8600A76262 /* prep_cif.c in Sources */,
401
575
  DBFA7197187F1DA100A76262 /* ffi_i386.c in Sources */,
576
+ FDDB2F411F5D66E200EF414E /* ffiw64_x86_64.c in Sources */,
402
577
  DBFA715B187F1D8600A76262 /* types.c in Sources */,
403
578
  DBFA7159187F1D8600A76262 /* raw_api.c in Sources */,
404
579
  DBFA714F187F1D8600A76262 /* closures.c in Sources */,
405
- DBFA7194187F1DA100A76262 /* darwin64_x86_64.S in Sources */,
580
+ DBFA7194187F1DA100A76262 /* unix64_x86_64.S in Sources */,
581
+ FDDB2F461F5D691E00EF414E /* win64_x86_64.S in Sources */,
582
+ );
583
+ runOnlyForDeploymentPostprocessing = 0;
584
+ };
585
+ FDB52FB21F6144FA00AA92E6 /* Sources */ = {
586
+ isa = PBXSourcesBuildPhase;
587
+ buildActionMask = 2147483647;
588
+ files = (
589
+ FDB52FB31F6144FA00AA92E6 /* unix64_x86_64.S in Sources */,
590
+ FDB52FB41F6144FA00AA92E6 /* sysv_i386.S in Sources */,
591
+ FDB52FB51F6144FA00AA92E6 /* ffi64_x86_64.c in Sources */,
592
+ FDB52FB61F6144FA00AA92E6 /* ffi_armv7.c in Sources */,
593
+ FDB52FB71F6144FA00AA92E6 /* closures.c in Sources */,
594
+ FDB52FB81F6144FA00AA92E6 /* sysv_armv7.S in Sources */,
595
+ FDB52FB91F6144FA00AA92E6 /* ffiw64_x86_64.c in Sources */,
596
+ FDB52FBA1F6144FA00AA92E6 /* prep_cif.c in Sources */,
597
+ FDB52FBB1F6144FA00AA92E6 /* ffi_i386.c in Sources */,
598
+ FDB52FBC1F6144FA00AA92E6 /* raw_api.c in Sources */,
599
+ FDB52FBD1F6144FA00AA92E6 /* sysv_arm64.S in Sources */,
600
+ FDB52FBE1F6144FA00AA92E6 /* types.c in Sources */,
601
+ FDB52FBF1F6144FA00AA92E6 /* ffi_arm64.c in Sources */,
602
+ FDB52FC01F6144FA00AA92E6 /* win64_x86_64.S in Sources */,
603
+ );
604
+ runOnlyForDeploymentPostprocessing = 0;
605
+ };
606
+ FDDB2F491F5D846400EF414E /* Sources */ = {
607
+ isa = PBXSourcesBuildPhase;
608
+ buildActionMask = 2147483647;
609
+ files = (
610
+ FDDB2F4A1F5D846400EF414E /* ffi64_x86_64.c in Sources */,
611
+ FDDB2F4B1F5D846400EF414E /* sysv_i386.S in Sources */,
612
+ FDDB2F4C1F5D846400EF414E /* prep_cif.c in Sources */,
613
+ FDDB2F4D1F5D846400EF414E /* ffi_i386.c in Sources */,
614
+ FDDB2F4E1F5D846400EF414E /* ffiw64_x86_64.c in Sources */,
615
+ FDDB2F4F1F5D846400EF414E /* types.c in Sources */,
616
+ FDDB2F501F5D846400EF414E /* raw_api.c in Sources */,
617
+ FDDB2F511F5D846400EF414E /* closures.c in Sources */,
618
+ FDDB2F521F5D846400EF414E /* unix64_x86_64.S in Sources */,
619
+ FDDB2F531F5D846400EF414E /* win64_x86_64.S in Sources */,
406
620
  );
407
621
  runOnlyForDeploymentPostprocessing = 0;
408
622
  };
@@ -412,9 +626,27 @@
412
626
  DB13B1601849DEB70010F42D /* Debug */ = {
413
627
  isa = XCBuildConfiguration;
414
628
  buildSettings = {
629
+ CLANG_WARN_BOOL_CONVERSION = YES;
630
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
631
+ CLANG_WARN_EMPTY_BODY = YES;
632
+ CLANG_WARN_ENUM_CONVERSION = YES;
633
+ CLANG_WARN_INFINITE_RECURSION = YES;
634
+ CLANG_WARN_INT_CONVERSION = YES;
635
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
636
+ CLANG_WARN_UNREACHABLE_CODE = YES;
637
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
638
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
639
+ ENABLE_TESTABILITY = YES;
640
+ GCC_NO_COMMON_BLOCKS = YES;
641
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
642
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
643
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
644
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
645
+ GCC_WARN_UNUSED_FUNCTION = YES;
646
+ GCC_WARN_UNUSED_VARIABLE = YES;
415
647
  HEADER_SEARCH_PATHS = (
416
648
  "$(inherited)",
417
- "darwin_common/include",
649
+ darwin_common/include,
418
650
  );
419
651
  ONLY_ACTIVE_ARCH = YES;
420
652
  };
@@ -423,9 +655,26 @@
423
655
  DB13B1611849DEB70010F42D /* Release */ = {
424
656
  isa = XCBuildConfiguration;
425
657
  buildSettings = {
658
+ CLANG_WARN_BOOL_CONVERSION = YES;
659
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
660
+ CLANG_WARN_EMPTY_BODY = YES;
661
+ CLANG_WARN_ENUM_CONVERSION = YES;
662
+ CLANG_WARN_INFINITE_RECURSION = YES;
663
+ CLANG_WARN_INT_CONVERSION = YES;
664
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
665
+ CLANG_WARN_UNREACHABLE_CODE = YES;
666
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
667
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
668
+ GCC_NO_COMMON_BLOCKS = YES;
669
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
670
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
671
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
672
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
673
+ GCC_WARN_UNUSED_FUNCTION = YES;
674
+ GCC_WARN_UNUSED_VARIABLE = YES;
426
675
  HEADER_SEARCH_PATHS = (
427
676
  "$(inherited)",
428
- "darwin_common/include",
677
+ darwin_common/include,
429
678
  );
430
679
  };
431
680
  name = Release;
@@ -434,11 +683,6 @@
434
683
  isa = XCBuildConfiguration;
435
684
  buildSettings = {
436
685
  ALWAYS_SEARCH_USER_PATHS = NO;
437
- ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
438
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
439
- CLANG_CXX_LIBRARY = "libc++";
440
- CLANG_ENABLE_MODULES = YES;
441
- CLANG_ENABLE_OBJC_ARC = YES;
442
686
  CLANG_WARN_BOOL_CONVERSION = YES;
443
687
  CLANG_WARN_CONSTANT_CONVERSION = YES;
444
688
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
@@ -449,14 +693,11 @@
449
693
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
450
694
  COPY_PHASE_STRIP = NO;
451
695
  DSTROOT = /tmp/ffi.dst;
452
- GCC_C_LANGUAGE_STANDARD = gnu99;
453
- GCC_DYNAMIC_NO_PIC = NO;
454
696
  GCC_OPTIMIZATION_LEVEL = 0;
455
697
  GCC_PREPROCESSOR_DEFINITIONS = (
456
698
  "DEBUG=1",
457
699
  "$(inherited)",
458
700
  );
459
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
460
701
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
461
702
  GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
462
703
  GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -465,14 +706,13 @@
465
706
  GCC_WARN_UNUSED_VARIABLE = YES;
466
707
  HEADER_SEARCH_PATHS = (
467
708
  "$(inherited)",
468
- "darwin_ios/include",
709
+ darwin_ios/include,
469
710
  );
470
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
471
- "IPHONEOS_DEPLOYMENT_TARGET[arch=arm64]" = 7.0;
472
- OTHER_LDFLAGS = "-ObjC";
711
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
473
712
  PRODUCT_NAME = ffi;
474
713
  SDKROOT = iphoneos;
475
714
  SKIP_INSTALL = YES;
715
+ VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
476
716
  };
477
717
  name = Debug;
478
718
  };
@@ -480,11 +720,6 @@
480
720
  isa = XCBuildConfiguration;
481
721
  buildSettings = {
482
722
  ALWAYS_SEARCH_USER_PATHS = NO;
483
- ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
484
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
485
- CLANG_CXX_LIBRARY = "libc++";
486
- CLANG_ENABLE_MODULES = YES;
487
- CLANG_ENABLE_OBJC_ARC = YES;
488
723
  CLANG_WARN_BOOL_CONVERSION = YES;
489
724
  CLANG_WARN_CONSTANT_CONVERSION = YES;
490
725
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
@@ -496,7 +731,6 @@
496
731
  COPY_PHASE_STRIP = YES;
497
732
  DSTROOT = /tmp/ffi.dst;
498
733
  ENABLE_NS_ASSERTIONS = NO;
499
- GCC_C_LANGUAGE_STANDARD = gnu99;
500
734
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
501
735
  GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
502
736
  GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -505,15 +739,14 @@
505
739
  GCC_WARN_UNUSED_VARIABLE = YES;
506
740
  HEADER_SEARCH_PATHS = (
507
741
  "$(inherited)",
508
- "darwin_ios/include",
742
+ darwin_ios/include,
509
743
  );
510
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
511
- "IPHONEOS_DEPLOYMENT_TARGET[arch=arm64]" = 7.0;
512
- OTHER_LDFLAGS = "-ObjC";
744
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
513
745
  PRODUCT_NAME = ffi;
514
746
  SDKROOT = iphoneos;
515
747
  SKIP_INSTALL = YES;
516
748
  VALIDATE_PRODUCT = YES;
749
+ VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
517
750
  };
518
751
  name = Release;
519
752
  };
@@ -532,6 +765,7 @@
532
765
  CLANG_WARN_INT_CONVERSION = YES;
533
766
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
534
767
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
768
+ COMBINE_HIDPI_IMAGES = YES;
535
769
  COPY_PHASE_STRIP = NO;
536
770
  DYLIB_COMPATIBILITY_VERSION = 1;
537
771
  DYLIB_CURRENT_VERSION = 1;
@@ -552,7 +786,7 @@
552
786
  GCC_WARN_UNUSED_VARIABLE = YES;
553
787
  HEADER_SEARCH_PATHS = (
554
788
  "$(inherited)",
555
- "darwin_osx/include",
789
+ darwin_osx/include,
556
790
  );
557
791
  MACOSX_DEPLOYMENT_TARGET = 10.6;
558
792
  ONLY_ACTIVE_ARCH = YES;
@@ -577,6 +811,7 @@
577
811
  CLANG_WARN_INT_CONVERSION = YES;
578
812
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
579
813
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
814
+ COMBINE_HIDPI_IMAGES = YES;
580
815
  COPY_PHASE_STRIP = YES;
581
816
  DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
582
817
  DYLIB_COMPATIBILITY_VERSION = 1;
@@ -592,7 +827,7 @@
592
827
  GCC_WARN_UNUSED_VARIABLE = YES;
593
828
  HEADER_SEARCH_PATHS = (
594
829
  "$(inherited)",
595
- "darwin_osx/include",
830
+ darwin_osx/include,
596
831
  );
597
832
  MACOSX_DEPLOYMENT_TARGET = 10.6;
598
833
  OTHER_LDFLAGS = "-Wl,-no_compact_unwind";
@@ -601,6 +836,159 @@
601
836
  };
602
837
  name = Release;
603
838
  };
839
+ FDB52FC31F6144FA00AA92E6 /* Debug */ = {
840
+ isa = XCBuildConfiguration;
841
+ buildSettings = {
842
+ ALWAYS_SEARCH_USER_PATHS = NO;
843
+ CLANG_WARN_BOOL_CONVERSION = YES;
844
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
845
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
846
+ CLANG_WARN_EMPTY_BODY = YES;
847
+ CLANG_WARN_ENUM_CONVERSION = YES;
848
+ CLANG_WARN_INT_CONVERSION = YES;
849
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
850
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
851
+ COPY_PHASE_STRIP = NO;
852
+ GCC_OPTIMIZATION_LEVEL = 0;
853
+ GCC_PREPROCESSOR_DEFINITIONS = (
854
+ "DEBUG=1",
855
+ "$(inherited)",
856
+ );
857
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
858
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
859
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
860
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
861
+ GCC_WARN_UNUSED_FUNCTION = YES;
862
+ GCC_WARN_UNUSED_VARIABLE = YES;
863
+ HEADER_SEARCH_PATHS = (
864
+ "$(inherited)",
865
+ darwin_ios/include,
866
+ );
867
+ PRODUCT_NAME = ffi;
868
+ SDKROOT = appletvos;
869
+ SKIP_INSTALL = YES;
870
+ TVOS_DEPLOYMENT_TARGET = 9.0;
871
+ };
872
+ name = Debug;
873
+ };
874
+ FDB52FC41F6144FA00AA92E6 /* Release */ = {
875
+ isa = XCBuildConfiguration;
876
+ buildSettings = {
877
+ ALWAYS_SEARCH_USER_PATHS = NO;
878
+ CLANG_WARN_BOOL_CONVERSION = YES;
879
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
880
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
881
+ CLANG_WARN_EMPTY_BODY = YES;
882
+ CLANG_WARN_ENUM_CONVERSION = YES;
883
+ CLANG_WARN_INT_CONVERSION = YES;
884
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
885
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
886
+ COPY_PHASE_STRIP = YES;
887
+ ENABLE_NS_ASSERTIONS = NO;
888
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
889
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
890
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
891
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
892
+ GCC_WARN_UNUSED_FUNCTION = YES;
893
+ GCC_WARN_UNUSED_VARIABLE = YES;
894
+ HEADER_SEARCH_PATHS = (
895
+ "$(inherited)",
896
+ darwin_ios/include,
897
+ );
898
+ PRODUCT_NAME = ffi;
899
+ SDKROOT = appletvos;
900
+ SKIP_INSTALL = YES;
901
+ TVOS_DEPLOYMENT_TARGET = 9.0;
902
+ VALIDATE_PRODUCT = YES;
903
+ };
904
+ name = Release;
905
+ };
906
+ FDDB2F601F5D846400EF414E /* Debug */ = {
907
+ isa = XCBuildConfiguration;
908
+ buildSettings = {
909
+ ALWAYS_SEARCH_USER_PATHS = NO;
910
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
911
+ CLANG_CXX_LIBRARY = "libc++";
912
+ CLANG_ENABLE_OBJC_ARC = YES;
913
+ CLANG_WARN_BOOL_CONVERSION = YES;
914
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
915
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
916
+ CLANG_WARN_EMPTY_BODY = YES;
917
+ CLANG_WARN_ENUM_CONVERSION = YES;
918
+ CLANG_WARN_INT_CONVERSION = YES;
919
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
920
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
921
+ COMBINE_HIDPI_IMAGES = YES;
922
+ COPY_PHASE_STRIP = NO;
923
+ EXECUTABLE_EXTENSION = a;
924
+ EXECUTABLE_PREFIX = lib;
925
+ GCC_C_LANGUAGE_STANDARD = gnu99;
926
+ GCC_DYNAMIC_NO_PIC = NO;
927
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
928
+ GCC_OPTIMIZATION_LEVEL = 0;
929
+ GCC_PREPROCESSOR_DEFINITIONS = (
930
+ "DEBUG=1",
931
+ "$(inherited)",
932
+ );
933
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
934
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
935
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
936
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
937
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
938
+ GCC_WARN_UNUSED_FUNCTION = YES;
939
+ GCC_WARN_UNUSED_VARIABLE = YES;
940
+ HEADER_SEARCH_PATHS = (
941
+ "$(inherited)",
942
+ darwin_osx/include,
943
+ );
944
+ MACH_O_TYPE = staticlib;
945
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
946
+ ONLY_ACTIVE_ARCH = YES;
947
+ PRODUCT_NAME = ffi;
948
+ SDKROOT = macosx;
949
+ };
950
+ name = Debug;
951
+ };
952
+ FDDB2F611F5D846400EF414E /* Release */ = {
953
+ isa = XCBuildConfiguration;
954
+ buildSettings = {
955
+ ALWAYS_SEARCH_USER_PATHS = NO;
956
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
957
+ CLANG_CXX_LIBRARY = "libc++";
958
+ CLANG_ENABLE_OBJC_ARC = YES;
959
+ CLANG_WARN_BOOL_CONVERSION = YES;
960
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
961
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
962
+ CLANG_WARN_EMPTY_BODY = YES;
963
+ CLANG_WARN_ENUM_CONVERSION = YES;
964
+ CLANG_WARN_INT_CONVERSION = YES;
965
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
966
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
967
+ COMBINE_HIDPI_IMAGES = YES;
968
+ COPY_PHASE_STRIP = YES;
969
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
970
+ ENABLE_NS_ASSERTIONS = NO;
971
+ EXECUTABLE_EXTENSION = a;
972
+ EXECUTABLE_PREFIX = lib;
973
+ GCC_C_LANGUAGE_STANDARD = gnu99;
974
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
975
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
976
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
977
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
978
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
979
+ GCC_WARN_UNUSED_FUNCTION = YES;
980
+ GCC_WARN_UNUSED_VARIABLE = YES;
981
+ HEADER_SEARCH_PATHS = (
982
+ "$(inherited)",
983
+ darwin_osx/include,
984
+ );
985
+ MACH_O_TYPE = staticlib;
986
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
987
+ PRODUCT_NAME = ffi;
988
+ SDKROOT = macosx;
989
+ };
990
+ name = Release;
991
+ };
604
992
  /* End XCBuildConfiguration section */
605
993
 
606
994
  /* Begin XCConfigurationList section */
@@ -631,6 +1019,24 @@
631
1019
  defaultConfigurationIsVisible = 0;
632
1020
  defaultConfigurationName = Release;
633
1021
  };
1022
+ FDB52FC21F6144FA00AA92E6 /* Build configuration list for PBXNativeTarget "libffi-tvOS" */ = {
1023
+ isa = XCConfigurationList;
1024
+ buildConfigurations = (
1025
+ FDB52FC31F6144FA00AA92E6 /* Debug */,
1026
+ FDB52FC41F6144FA00AA92E6 /* Release */,
1027
+ );
1028
+ defaultConfigurationIsVisible = 0;
1029
+ defaultConfigurationName = Release;
1030
+ };
1031
+ FDDB2F5F1F5D846400EF414E /* Build configuration list for PBXNativeTarget "libffi-static-Mac" */ = {
1032
+ isa = XCConfigurationList;
1033
+ buildConfigurations = (
1034
+ FDDB2F601F5D846400EF414E /* Debug */,
1035
+ FDDB2F611F5D846400EF414E /* Release */,
1036
+ );
1037
+ defaultConfigurationIsVisible = 0;
1038
+ defaultConfigurationName = Release;
1039
+ };
634
1040
  /* End XCConfigurationList section */
635
1041
  };
636
1042
  rootObject = DB13B15C1849DEB70010F42D /* Project object */;