Re: [Vala] What is the right syntax for defining pointers or references or "aliases" in Vala ?



Hi,

على 21 يون, 2011 م 08:08, كتب Christian Siefkes:
On 06/21/2011 08:00 PM, Jim Nelson wrote:
Actually, string.strip() (which uses g_strstrip) returns a new string.

Yes, string.strip() returns a new string, but string._strip() [note the
underscore] doesn't return anything and just modifies the calling string
in-place. Both of them exist in the string API.

I'd argue that _strip() should be private. I guess it isn't because of a bug in valac or something.

Regards,
Abderrahim



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