Sha256: 63fc1ed9871809b7e9d58c0bd8bf0880706a42de0ba080c8c19b60872330fb45

Contents?: true

Size: 433 Bytes

Versions: 30

Compression:

Stored size: 433 Bytes

Contents

module CZMQ::FFI
  if available?
    opts = {
      blocking: true  # only necessary on MRI to deal with the GIL.
    }

    ##
    # NOTE: this is to support the current stable release, CZMQ 3.0.2
    #
    # attach zsys_has_curve (as zproc_has_curve), if zproc_has_curve isn't
    # available
    unless methods.include? :zproc_has_curve
      attach_function :zproc_has_curve, :zsys_has_curve, [], :bool, **opts
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
czmq-ffi-gen-0.9.2-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.2-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.2 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.1-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.1 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.8.3 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.8.2 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.8.1 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.8.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.7.0 lib/czmq-ffi-gen/legacy.rb