# 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, ptop, cdef

cdef('typedef struct _zcertstore_t zcertstore_t;')


@cdef('void zcertstore_destroy (zcertstore_t **self_p);')
def destroy(store):
    """
    Destroy a certificate store object in memory. Does not affect anything
    stored on disk.
    """

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


cdef('typedef struct _zcertstore_t zcertstore_t;')


@cdef('void zcertstore_destroy (zcertstore_t **self_p);')
def destroy(store):
    """
    Destroy a certificate store object in memory. Does not affect anything
    stored on disk.
    """

    C.zcertstore_destroy(ptop('zcertstore_t', store))