[Vala] What is the right syntax for defining pointers or references or "aliases" in Vala ?
- From: Serge Hulne <serge hulne gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] What is the right syntax for defining pointers or references or "aliases" in Vala ?
- Date: Mon, 20 Jun 2011 21:39:11 +0200
What is the Vala syntax to express that :
b is a alias of a (or b points to the same address that a or b is a
reference to a).
Is there a way to express this in vala or does *assignment always mean
memory allocation* in Vala.
In other terms : How do you store references to variables (or pointers
to variables) in, say, a container (a libgee data structure) while
avoiding duplication of said data.
In C or C++ this would be done with pointers (or references).
Serge.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]