Sha256: 2c39304d26ed2566ffca5e8c604fe014e6d9452ebe5b6ea439463fe87b920589

Contents?: true

Size: 436 Bytes

Versions: 28

Compression:

Stored size: 436 Bytes

Contents

require_relative "gem_version"
require_relative "libzmq"

module CZMQ
  module FFI
    # CZMQ library version
    CZMQ_VERSION = VERSION

    # @deprecated Use {CZMQ_VERSION} instead.
    LIBRARY_VERSION = CZMQ_VERSION

    # ZMQ library version
    ZMQ_VERSION = begin
      version = Array.new(3) { ::FFI::MemoryPointer.new(:int) }
      LibZMQ.zmq_version(*version)
      version.map { |n| n.get_int(0) }.join(".")
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
czmq-ffi-gen-0.15.0 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.14.1-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.14.1-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.14.1 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.14.0 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.13.0-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.13.0-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.13.0 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.12.0-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.12.0-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.12.0 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.10.0-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.10.0-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.10.0 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.4-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.4-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.4 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.3-x86-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.3-x64-mingw32 lib/czmq-ffi-gen/versions.rb
czmq-ffi-gen-0.9.3 lib/czmq-ffi-gen/versions.rb