Re: [Vala] C Code Interface
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Erick Pérez Castellanos <erick red gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] C Code Interface
- Date: Sun, 19 Dec 2010 10:55:40 +0100
Hello,
في س، 18-12-2010 عند 23:34 -0300 ، كتب Erick Pérez Castellanos:
Look at this article:
http://mike.trausch.us/blog/2009/02/18/vala-bindings-for-non-gobject-type-c-libraries
I forgot to say this, the code I need is GObject based, is exactly code from
Gtk source Code, I'm planning to use out, there's two classes Gtk widgets
the use internally, I'm planning to get it outside ...
Maybe you meant tl;dr ;-)
That article seems to be really useful, and being about non-gobject
libraries doesn't mean it doesn't work for gobject ones.
Anyway, if it's about only 2 classes, it's better to manually write the
vapi. You only need to write the declaration in vala syntax (you can
look at other vapis installed by vala, or read the above article)
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]