GNOME Bugzilla – Bug 605901
[PATCH] rfc, some array fixes
Last modified: 2010-01-30 16:50:51 UTC
The following 2 patches let me write: vapi: [Compact] [CCode (free_function = "", cname = "struct LLVMOpaqueType", cheader_filename = "llvm-c/Core.h")] public class Ty { } code: var args = new unowned Ty[] { Ty.int32 () };
Created attachment 150684 [details] [review] parser: accepts 'new unowned T[]'
Created attachment 150685 [details] [review] fix an empty unref_function="" usage
As discussed on IRC a few weeks ago, we need more generic syntax support for arrays with unowned elements, so that you can also use the type in declarations.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 571486 ***