[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Binding for a function receiving a C callback without arguments
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: Binding for a function receiving a C callback without arguments
- Date: Mon, 4 May 2009 14:38:51 -0400 (EDT)
Emmanuel Rodriguez wrote:
>
> I need to write the bindings for a C function that receives a callback which
> has no arguments.
[snip]
> Someome knows of an exisinting C API that has a similar callback and how I
> can overcome this?
Save yourself and the authors of other bindings some grief, and convince the
upstream to add a user data pointer to *all* callback functions. You have
derived for yourself the proof of why this is necessary. ;-)
--
muppet <scott at asofyet dot org>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]