Re: [Vala] Allow passing ref/out as a pointer.







Hello Luca
Even thought there are replacement for that, don't you think that this option is good?
Vala has full support of pointers except this.

Tal

Date: Thu, 12 Apr 2012 19:32:46 +0200
Subject: Re: [Vala] Allow passing ref/out as a pointer.
From: lethalman88 gmail com
To: tal_hd hotmail com
CC: vala-list gnome org

2012/4/12 Tal Hadad <tal_hd hotmail com>



Can you please allow to cast a pointer type into ref/out?

I mean to allow this:

method ((ref) pointer,...)

Same for the out keyword.

Because sometimes there are binding issue.

For example, glGenBuffers in gl.vapi(external) cause errors.

If it causes errors then the vapi has to be fixed.

-- 
www.debian.org - The Universal Operating System

                                          


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