Hi

On Thu, Dec 3, 2009 at 6:40 PM, aaron andersen
<[email protected]> wrote:
> Is there a way to return an array of unowned objects without using pointers?
>
>
> This returns an unowned array to owned/refcounted objects, but how to return
> array to unowned objects?
>
> unowned Object[] get_array_of_unowned_objects ();
>

I had similar issues recently. This is how I workaround it:

T[] get_array<T>();

get_array<unowned T>();

> Thanks for any help.

good luck!

-- 
Marc-André Lureau
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to