[Vala] Properly wrapping callbacks



Hi,

I'm working on my first binding for a non-gobject library -- please see 
gsm0710_p.h.

My current vapi is also attached. I'm struggling with setting the callback 
pointers now. How should the callbacks in my .vala object be defined so that 
I can set them via e.g. 

<callback>

var ctx = new Context();
ctx.at_command = <callback>

Cheers,

Mickey.

-- 
:M:

Attachment: gsm0710_p.h
Description: Text Data

Attachment: gsm0710.vapi
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]