[Vala] How to deal with target attribute in VAPI for C struct?

2012-03-26 Thread mar...@saepia.net
Hi, I have a part of C code that I need to include in my Vala project. It contains code +/- like that: typedef void (*computing_finished_cb) (void *self); typedef struct computer { computing_finished_cb on_finished; void* parent; } computer; size_t computer_compute(computer *c); I've

Re: [Vala] How to deal with target attribute in VAPI for C struct?

2012-03-26 Thread mar...@saepia.net
Ugh, sorry, obviously that code:  public delegate void ComputingFinishedCallback(); should be: public delegate void ComputingFinishedCallback(void* sender); m. ___ vala-list mailing list vala-list@gnome.org