Re: [Vala] struct value boxing in GLib.Array



On Thu, 2011-07-21 at 10:54 +0100, Michael Brown wrote:
The second nail in the coffin,
so to speak, is that struct returns in vala are done via a pointer
passed
into the method. g_array_index returns an l-value of the actual array
entry.
Nice for C code, but not for codegen. 

Wouldn't returning a reference/pointer to struct solved this particular
problem?

Regards

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]