Re: [Vala] using a non-glib C library in vala




I figured out ID3_C_EXPORT and CCONV, they are irrelevant for the binding. I'm still wondering about the 
first highlighted line though.

From: mr_maxwell live com
To: vala-list gnome org
Date: Tue, 15 Sep 2009 15:03:01 -0500
Subject: Re: [Vala] using a non-glib C library in vala


That link will save me a lot of trouble, thanks a ton!

Here's the header I'm trying to wrap http://pastebin.com/f345c84de 

For the first highlighted line, is it just a one char array or an array of multiple chars? As for the 
second highlighted line what do I do with ID3_C_EXPORT and CCONV?

Date: Tue, 15 Sep 2009 11:15:48 +0300
From: arkashkin gmail com
To: vala-list gnome org
Subject: [Vala] using a non-glib C library in vala

There is some guide I have found on the internet which might help you:
http://mike.trausch.us/blog/2009/02/18/vala-bindings-for-non-gobject-type-c-libraries/
Good luck.


On Tue, Sep 15, 2009 at 10:15 AM, Jan Hudec <bulb ucw cz> wrote:

Hello,

On Tue, September 15, 2009 02:13, Mr. Maxwell . wrote:

I wish to use the id3lib (http://id3lib.sourceforge.net/) library in
vala.
The only info I could find on writing the vapi file was for glib
libraries, could you guys help me here? I have no idea where to start.

I guess you can have a look at the posix.vapi and see how things are done
there. I don't think the gi/gir scanner will help you, so you will probably
end up writing the .vapi manually.

--
                                       - Jan Hudec <bulb ucw cz>

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list


_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

_________________________________________________________________
Ready for Fall shows? Use Bing to find helpful ratings and reviews on digital tv's.
http://www.bing.com/shopping/search?q=digital+tv's&form=MSHNCB&publ=WLHMTAG&crea=TEXT_MSHNCB_Vertical_Shopping_DigitalTVs_1x1


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