Anatoly A. Kazantsev wrote:
> I'm trying to wrap function with callback parameter:
>
> error_t fshelp_start_translator (fshelp_open_fn_t underlying_open_fn, void
> *cookie, char *name, char *argz, int argz_len, int timeout, fsys_t
> *control)
>
> where fshelp_open_fn_t is
>
> typedef error_t (*fshelp_open_fn_t) (int flags, file_t *node,
> mach_msg_type_name_t *node_type, task_t, void *cookie)

Have you looked at the callback example in the Cython distribution?

http://hg.cython.org/cython-devel/file/tip/Demos/callback

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to