Re: [Vala] Increasing the array_length in vapi by 1



On Thu, Oct 27, 2011 at 1:51 AM, Luca Bruno <lethalman88 gmail com> wrote:

You can create an helper method such as:

[CCode (cname = "this_is_the_real_function")]
private void _foo (uchar[] bar);
public void foo (uchar[] bar) {
  bar.length++;
  _foo (bar);
}


Excellent.. thanks Luca!


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