Re: [Vala] Returning StringBuilder.str in functions causes unnecessary strdup().
- From: Luca Bruno <lethalman88 gmail com>
- To: PCMan <pcman tw gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Returning StringBuilder.str in functions causes unnecessary strdup().
- Date: Sun, 6 Nov 2011 12:29:57 +0100
On Sun, Nov 6, 2011 at 12:24 PM, PCMan <pcman tw gmail com> wrote:
Hello,
Maybe I missed some ownership transfer thing?
return (owned) str.str;
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]