Re: [Vala] box array does not work
- From: Luca Bruno <lethalman88 gmail com>
- To: Michele Dionisio <michele dionisio gmail com>
- Cc: Vala List <vala-list gnome org>
- Subject: Re: [Vala] box array does not work
- Date: Fri, 18 Jul 2014 12:29:08 +0200
On 18/07/2014 12:22, Michele Dionisio wrote:
but the message sya that I have to box it.
The message is wrong.
Can you explain me why I cannot box an array?
Because arrays in vala carry a length. Use a pointer and manage the
memory manually, like TreeMap<uint8*, FileInformation>.
Or wrap your uint8[] array in a class.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]