czmq-ffi-gen 0.9.3-x64-mingw32 → 0.9.4-x64-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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 876e5a9eec779cbba86d17a96bfec910bc670dfd
4
- data.tar.gz: a8304737e79578c397e32cc541f9d039ae7d916c
3
+ metadata.gz: 3fd4f13262da52b2fe3cef44be91e1f29b575c12
4
+ data.tar.gz: 21a93151aeb8faa8bdf738e14c3aa9a41ed7e914
5
5
  SHA512:
6
- metadata.gz: 6dd026fe4fe2576698e413e1de59fe6a1603d65f2c0264a6098fc12ae9797d25bfca33ff3af8b69213738ca77c765706fa8e1c7d8d457f9e8b7985d0da524722
7
- data.tar.gz: 1262e28f443df88cbd49eb0ad7c1477df439f7006a1e0718e6475a4f757793c8e0a9573f15002a9287a948c5a9c9bac14d9ca557be48c84e1b79754293a855fe
6
+ metadata.gz: 22f1b73d390e97b052d3a8f2e874197397f203b7c538a0a9a0a21b8d19cf28324b40f2f2c0da72cde3649cb19ef234a7d4f2090d106997c9066dd25a5e92576e
7
+ data.tar.gz: 2cb03f1af5fd290ceb88f526ceb1ef1c5dfe568e0ea12ee86527faad333c25370d7f8d99aa09d5c6b06b9431d44a3d2c1d385ac934fe5034915539877d669577
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)
@@ -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
@@ -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)
@@ -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
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: x64-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