Jud Craft <[email protected]> writes: > Hey there! > > How are vala bindings created for a library that doesn't use > GObject/Glib? For example, the SDL vala bindings. >
I guess - mostly "by hand". > I'm very curious, since I'm pretty sure SDL isn't GObject-wrapped, nor > is it even object-oriented in the C++ sense (at least I didn't think > so). Do you have to manually wrap a GObject-based class hierarchy > around it? Vala can use functions. SDL vapi file describes the interface of SDL - but it do not require wrapping it in GObject - it uses POCS (plain old C structs ;) ). Anyway you can always run compilator with -C and see what code it generated. Regards -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see http://counter.li.org/) _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
