Re: [Vala] Returning StringBuilder.str in functions causes unnecessary strdup().



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]