ffi 1.1.0-x86-mingw32 → 1.1.1-x86-mingw32

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

Potentially problematic release.


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

data/Rakefile CHANGED
@@ -74,7 +74,7 @@ PROJ.name = 'ffi'
74
74
  PROJ.authors = 'Wayne Meissner'
75
75
  PROJ.email = 'wmeissner@gmail.com'
76
76
  PROJ.url = 'http://wiki.github.com/ffi/ffi'
77
- PROJ.version = '1.1.0'
77
+ PROJ.version = '1.1.1'
78
78
  PROJ.rubyforge.name = 'ffi'
79
79
  PROJ.readme_file = 'README.rdoc'
80
80
 
@@ -31,7 +31,7 @@ typedef int bool;
31
31
  #include <limits.h>
32
32
  #include <ruby.h>
33
33
  #include "rbffi.h"
34
- #include "endian.h"
34
+ #include "rbffi_endian.h"
35
35
  #include "AbstractMemory.h"
36
36
 
37
37
  #define BUFFER_EMBED_MAXLEN (8)
@@ -200,7 +200,7 @@ static VALUE custom_trampoline(int argc, VALUE* argv, VALUE self, Closure*);
200
200
  *
201
201
  * This results in approx a 30% speedup for x86_64 FFI dispatch
202
202
  */
203
- asm(
203
+ __asm__(
204
204
  ".text\n\t"
205
205
  ".globl ffi_trampoline\n\t"
206
206
  ".globl _ffi_trampoline\n\t"
@@ -241,7 +241,7 @@ static VALUE custom_trampoline(caddr_t args, Closure*);
241
241
  * This does not make a discernable difference vs a raw closure, so for now,
242
242
  * it is not enabled.
243
243
  */
244
- asm(
244
+ __asm__(
245
245
  ".text\n\t"
246
246
  ".globl ffi_trampoline\n\t"
247
247
  ".globl _ffi_trampoline\n\t"
@@ -32,7 +32,7 @@ typedef int bool;
32
32
  #endif
33
33
  #include <ruby.h>
34
34
  #include <ctype.h>
35
- #include "endian.h"
35
+ #include "rbffi_endian.h"
36
36
  #include "Platform.h"
37
37
  #if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
38
38
  #include <gnu/lib-names.h>
@@ -31,7 +31,7 @@ typedef int bool;
31
31
  #include <limits.h>
32
32
  #include <ruby.h>
33
33
  #include "rbffi.h"
34
- #include "endian.h"
34
+ #include "rbffi_endian.h"
35
35
  #include "AbstractMemory.h"
36
36
  #include "Pointer.h"
37
37
 
@@ -129,7 +129,6 @@ struct_initialize_copy(VALUE self, VALUE other)
129
129
  {
130
130
  Struct* src;
131
131
  Struct* dst;
132
- VALUE memargs[3];
133
132
 
134
133
  Data_Get_Struct(self, Struct, dst);
135
134
  Data_Get_Struct(other, Struct, src);
@@ -19,7 +19,6 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
19
19
  end
20
20
 
21
21
  have_func('rb_thread_blocking_region')
22
- have_func('ruby_thread_has_gvl_p') unless RUBY_VERSION >= "1.9.3"
23
22
  have_func('ruby_native_thread_p')
24
23
  have_func('rb_thread_call_with_gvl')
25
24
 
@@ -8,7 +8,7 @@
8
8
  #include <sys/types.h>
9
9
 
10
10
  #if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__)
11
- # include_next <endian.h>
11
+ # include <endian.h>
12
12
  #endif
13
13
 
14
14
  #ifdef __sun
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Wayne Meissner
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-18 00:00:00 +10:00
18
+ date: 2012-07-28 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -51,7 +51,6 @@ files:
51
51
  - ext/ffi_c/DataConverter.c
52
52
  - ext/ffi_c/DynamicLibrary.c
53
53
  - ext/ffi_c/DynamicLibrary.h
54
- - ext/ffi_c/endian.h
55
54
  - ext/ffi_c/extconf.rb
56
55
  - ext/ffi_c/ffi.c
57
56
  - ext/ffi_c/Function.c
@@ -349,6 +348,7 @@ files:
349
348
  - ext/ffi_c/Pointer.c
350
349
  - ext/ffi_c/Pointer.h
351
350
  - ext/ffi_c/rbffi.h
351
+ - ext/ffi_c/rbffi_endian.h
352
352
  - ext/ffi_c/Struct.c
353
353
  - ext/ffi_c/Struct.h
354
354
  - ext/ffi_c/StructByReference.c