Skip to content

Commit 0dbe55e

Browse files
committed
Problem: Ruby bindings don't work on Windows
Because :uint64_t type is used. It doesn't exist in ffi gem. We should use :uint64 instead. :uint64 exists in ffi gem. It has been fixed by zeromq/zproject#771. Solution: Regenerate Ruby bindings. Fix #1581
1 parent 4e18f29 commit 0dbe55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ruby/lib/czmq/ffi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ def self.zsock_leave(*)
10621062
attach_function :zsock_tcp_accept_filter, [:pointer], :pointer, **opts
10631063
attach_function :zsock_set_tcp_accept_filter, [:pointer, :string], :void, **opts
10641064
attach_function :zsock_rcvmore, [:pointer], :int, **opts
1065-
attach_function :zsock_fd, [:pointer], (::FFI::Platform.unix? ? :int : :uint64_t), **opts
1065+
attach_function :zsock_fd, [:pointer], (::FFI::Platform.unix? ? :int : :uint64), **opts
10661066
attach_function :zsock_events, [:pointer], :int, **opts
10671067
attach_function :zsock_last_endpoint, [:pointer], :pointer, **opts
10681068
attach_function :zsock_set_router_raw, [:pointer, :int], :void, **opts

0 commit comments

Comments
 (0)