[Vala] Array as big as an enum
- From: rastersoft <raster rastersoft com>
- To: vala <vala-list gnome org>
- Subject: [Vala] Array as big as an enum
- Date: Mon, 29 Aug 2016 23:45:31 +0200
Hi all:
I have an enum with several elements, and I need to create an array with
the same number of elements. In C I define a last element with a known
name (eg: "LAST_ELEMENT"), and use "int blah[LAST_ELEMENT];" to create
the array. How can I do that in Vala?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]