[Vala] Increasing the array_length in vapi by 1
- From: Shawn Ferris <shawn ferris gmail com>
- To: Vala-list <Vala-list gnome org>
- Subject: [Vala] Increasing the array_length in vapi by 1
- Date: Wed, 26 Oct 2011 16:55:09 -0600
Hey All -- I have a binding where the method requires a uchar[] and a
length. Currently it works correctly in that the generated C passes the
correct length. Unfortunately, the length it's expecting is really length +
1. Is there any way to manipulate that through CCode to simplify the
binding? or do I have to disable array_length and explicitly pass the length
+ 1?
Thanks for the help!
SMF
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]