Re: [Vala] Increasing the array_length in vapi by 1
- From: Shawn Ferris <shawn ferris gmail com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: Vala-list <Vala-list gnome org>
- Subject: Re: [Vala] Increasing the array_length in vapi by 1
- Date: Thu, 27 Oct 2011 09:14:31 -0600
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]