# 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 zstr class provides utility functions for sending and receiving
strings across 0MQ sockets. It sends strings without a terminating
null, and appends a null byte on received strings. This class is for
simple message sending.
"""



# 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/zstr.py
from pyczmq._cffi import C, ffi, cdef


__doc__ = """
The zstr class provides utility functions for sending and receiving
strings across 0MQ sockets. It sends strings without a terminating
null, and appends a null byte on received strings. This class is for
simple message sending.
"""



@cdef('char * zstr_recv (void *socket);', nullable=True, returns_string=True)