czmq-ffi-gen 0.9.3-x86-mingw32 → 0.9.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d6a598e4dea9a30215fae3b4f1865a55920a28f
4
- data.tar.gz: 702b2e491d2e1473ccd6ecdf6acc9d61a0dd2ac9
3
+ metadata.gz: e39d7037533c2357efb9b94f449fa326b73a1f5b
4
+ data.tar.gz: 52f650e746fe5aa0f85a1d2ad4a05e12fa31d09e
5
5
  SHA512:
6
- metadata.gz: d72fa038237129be116062d2b0e60b7f568852b23ba0ca84d8481859d4c9ea9eb5bb714ff61b7cfd4c4066e6a308431485fc6e3e1769602df856cc9cd3f37478
7
- data.tar.gz: bb264960c32805bbd3819ae543663856d51e99a89ee35e117608f61d8886235da350577e4efb758ab45ba5bd0a4feacb94b74851a5b459bf248890097c67314a
6
+ metadata.gz: 41766b01a6262017d2b0582b9abd6d13f5d89e5199d4e1fa04e675e1755a260a1b660abc5a897c8cf4f3cdf2afedcb51a25bce18b32c9cf8b0c8225a4391ad93
7
+ data.tar.gz: 55732967f897836e9120e0986f7189e35d8c5ed7ff54643aaeb3c031050401f74ee6710bd8efce1b40a72990708546c940898b6ae52219f168ad52c683e7c811
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.9.4 (09/22/2016)
2
+ -----
3
+ * update CZMQ low-level binding to
4
+ - fix zsock_fd() FFI attachment (and thus CZMQ::FFI::Zsock.fd)
5
+
1
6
  0.9.3 (09/21/2016)
2
7
  -----
3
8
  * fix issue with special build types (zeromq/czmq@4acc4ed)
@@ -3391,7 +3391,7 @@ module CZMQ
3391
3391
 
3392
3392
  # Get socket option `fd`.
3393
3393
  #
3394
- # @return [::FFI::Pointer]
3394
+ # @return [Integer or FFI::Pointer]
3395
3395
  def fd()
3396
3396
  raise DestroyedError unless @ptr
3397
3397
  self_p = @ptr
@@ -3405,7 +3405,7 @@ module CZMQ
3405
3405
  #
3406
3406
  # @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
3407
3407
  # object reference to use this method on
3408
- # @return [::FFI::Pointer]
3408
+ # @return [Integer or FFI::Pointer]
3409
3409
  def self.fd(self_p)
3410
3410
  self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
3411
3411
  result = ::CZMQ::FFI.zsock_fd(self_p)
@@ -991,7 +991,7 @@ module CZMQ
991
991
  attach_function :zsock_tcp_accept_filter, [:pointer], :pointer, **opts
992
992
  attach_function :zsock_set_tcp_accept_filter, [:pointer, :string], :void, **opts
993
993
  attach_function :zsock_rcvmore, [:pointer], :int, **opts
994
- attach_function :zsock_fd, [:pointer], :pointer, **opts
994
+ attach_function :zsock_fd, [:pointer], (::FFI::Platform.unix? ? :int : :uint64_t), **opts
995
995
  attach_function :zsock_events, [:pointer], :int, **opts
996
996
  attach_function :zsock_last_endpoint, [:pointer], :pointer, **opts
997
997
  attach_function :zsock_test, [:bool], :void, **opts
@@ -1,5 +1,5 @@
1
1
  module CZMQ
2
2
  module FFI
3
- GEM_VERSION = "0.9.3"
3
+ GEM_VERSION = "0.9.4"
4
4
  end
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: czmq-ffi-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Patrik Wenger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi