czmq-ffi-gen 0.9.3 → 0.9.4

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: b80d0949fa0e2d6fbc1d1113186b65fdd8049ccd
4
- data.tar.gz: 19d7e238e0c621afa656dba5a9f93ca94ca4c21a
3
+ metadata.gz: d87697ce8e4e17eb9a748785c2f6ba1226ed4018
4
+ data.tar.gz: 40e80c83b4b71490a86e06230736d453981c9895
5
5
  SHA512:
6
- metadata.gz: efd92621592e74726669bb3277baabded07f53061bc5cda908af0158a658be5f4213d418055c4cf412674a2f5af70610d91a477a763385aa6ab6f3e28d660dea
7
- data.tar.gz: 2a4c884f90b0c62f1e995c947ce7a9cf5e7bdfa37a39fe18e418fa095d3a0fddfde499f8644bcde75a7ad5893468f5d4be6d3dcab4d450f0fdef58b560425d24
6
+ metadata.gz: 5fc02913229ff83339c905488548104a09b24253ed740b941ed5be820e74b92922dbebdb2ced5f47195b10397c7f7181fc10416697061e2df1d371df5e845edf
7
+ data.tar.gz: 601245a02173d1a3e493d5ab1bfbf41e319c662716d91073bbcc6cdf83ac734e8cbf540ee35f5bf8bf1fa1dea90b2dbe128de95efb0e78210fa3a540629aad4f
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
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: ruby
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