Module: CZMQ::FFI

Extended by:
FFI::Library
Included in:
CZTop::Socket, CZTop::ZsockOptions
Defined in:
lib/cztop/ffi.rb

Defined Under Namespace

Modules: Errors, Signals, Wrapper, Zsys Classes: DestroyedError, Zframe, Zmsg, Zsock

Constant Summary collapse

ZMONITOR_FN =

zmonitor actor function pointer (for zactor_new)

ffi_libraries.filter_map { |lib|
  lib.find_function('zmonitor') rescue nil # rubocop:disable Style/RescueModifier
}.first
ZFRAME_MORE =
1
ZFRAME_DONTWAIT =
4
ZMQ_VERSION =
"#{zmq_maj.read_int}.#{zmq_min.read_int}.#{zmq_pat.read_int}".freeze
CZMQ_VERSION =
"#{czmq_maj.read_int}.#{czmq_min.read_int}.#{czmq_pat.read_int}".freeze