# Path: pyczmq/_cffi.py
# C = ffi.dlopen('czmq')
# Z = ffi.dlopen('zmq')
# def ptop(typ, val):
# def cdef(decl, returns_string=False, nullable=False):
#     def wrap(f):
#         def inner_f(*args):


from pyczmq._cffi import C, ffi, cdef

__doc__ = """
The zsys class provides miscellaneous functions. Only a limited set of
functions are exposed from the czmq zsys module as many duplicate
functionality of built-in python types or libraries.
"""

@cdef('void zsys_version (int *major, int *minor, int *patch);')
def zsys_version():
    """
    Returns the tuple (major, minor, patch) of the current czmq version.
    """

# Path: pyczmq/_cffi.py
# C = ffi.dlopen('czmq')
# Z = ffi.dlopen('zmq')
# def ptop(typ, val):
# def cdef(decl, returns_string=False, nullable=False):
#     def wrap(f):
#         def inner_f(*args):


# Path: pyczmq/zsys.py
from pyczmq._cffi import C, ffi, cdef


__doc__ = """
The zsys class provides miscellaneous functions. Only a limited set of
functions are exposed from the czmq zsys module as many duplicate
functionality of built-in python types or libraries.
"""

@cdef('void zsys_version (int *major, int *minor, int *patch);')
def zsys_version():
    """
    Returns the tuple (major, minor, patch) of the current czmq version.
    """

    major = ffi.new('int*')