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.15.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.14.1-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.14.1-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.14.1 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.14.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.13.0-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.13.0-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.13.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.12.0-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.12.0-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.12.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.10.0-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.10.0-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.10.0 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.4-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.4-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.4 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.3-x86-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.3-x64-mingw32 lib/czmq-ffi-gen/legacy.rb
czmq-ffi-gen-0.9.3 lib/czmq-ffi-gen/legacy.rb