[ocaml-ctypes] Variadic Functions

Florian Pichlmeier florian.pichlmeier at mytum.de
Tue Sep 24 16:43:44 BST 2013


Hi,

i am trying to write a binding to the czmq library using ctypes.

Some of these functions are variadic functions, like this one

//  Create new poller
CZMQ_EXPORT zpoller_t *
    zpoller_new (void *reader, ...);

Is there a way with ctypes to emulate this signature?

Thanks in advance,

Florian


More information about the Ctypes mailing list