Re: [Vala] Struct bug?
- From: Luca Bruno <lethalman88 gmail com>
- To: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Struct bug?
- Date: Thu, 7 Jul 2011 09:19:18 +0200
On Thu, Jul 07, 2011 at 11:38:30AM +0800, Nor Jaidi Tuah wrote:
From the tutorial,
"Structs are stack/inline allocated and copied on assignment."
So, it surprises me to find that structs are passed
by reference rather than copying. Have I found a bug
or is this really by design?
Should be fixed in master: the struct is copied before passed by reference.
--
http://www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]