2011/3/10 jpka <jo...@kvidex.ru>:

> Great! Thank you :)
> The last question is, when i find correct callback signature, passed
> arguments absolutely cannot be modified in any way, including adding
> random arguments, right?

You can pass whatever you want (if it is known at callback
registration time) as gpointer user_data.
For example create a structure to hold pointers to everything you need
in callback, then pass pointer to that structure as user_data.
Of course the structure must not be allocated on stack.

-- 
Krzysztof Kościuszkiewicz
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci


_______________________________________________
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Reply via email to