Re: [Vala] Writing Bindings for Legacy C Libraries



On 29 September 2013 01:45, Luca Bruno <lethalman88 gmail com> wrote:

Awesome! That was really a missing part of the docs. Thanks for your work,
you have written so much and so good.


Thanks. I'm happy to contribute.


A couple of things:
The copy_function shouldn't be of any uses for classes (compact and not),
if I'm not wrong.


Done.


Vala does support multidimensional arrays very well: int[,] foo = new
int[3,4];
What vala does not support is stacked arrays.


Clarified. → Vala does not really do C-style stacked arrays (a.k.a. ragged
multi-dimensional arrays), so binding them is nigh impossible without extra
C code.


Also did you link this page from some other wiki pages? Which ones?


I put a link in the Vala/UpstreamGuide#Writing_By_Hand and Vala/Bindings,
next to the Upstream Guide link.
-- 
--Andre Masella<andre masella name>
http://www.masella.name/


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