Jan Hudec b...@ucw.cz wrote:
This looks like another use-case for extension methods in a day.
I'd like to see them as well.
namespace Moo {
bool less_or_equal(IComparable this lhs, IComparable rhs) {
return !rhs.less_than(lhs);
}
}
The C# syntax is actually a little bit
On Thu, 2010-02-11 at 01:22 +1100, Fredderic Unpenstein wrote:
On 10 February 2010 09:29, jideel jid...@free.fr wrote:
Thanks for your response.
You're probably right, perhaps it's not the right tool.
Sounds to me like you might be able to get away with just a few key
functions in a
Jan-Jaap van der Geer píše v St 10. 02. 2010 v 02:34 -0800:
Jan Hudec b...@ucw.cz wrote:
This looks like another use-case for extension methods in a day.
I'd like to see them as well.
It might be useful, in some cases. It should be noted that extension
methods can only access class'
Hi!
In the new version of Vala (0.7.10) Soup.Message.response_body.data
returns uint8[] instead string, like in older versions. Is there any
standart way to convert this value to string?
I wrote this piece of code, but it is very ugly and slow, I think:
var session = new SessionAsync();
var
Бака Гайдзин píše v St 10. 02. 2010 v 18:03 +0200:
Hi!
In the new version of Vala (0.7.10) Soup.Message.response_body.data
returns uint8[] instead string, like in older versions. Is there any
standart way to convert this value to string?
I wrote this piece of code, but it is very ugly and
Oh, thanks :)
2010/2/10 Jiří Zárevúcky zarevucky.j...@gmail.com:
Бака Гайдзин píše v St 10. 02. 2010 v 18:03 +0200:
Hi!
In the new version of Vala (0.7.10) Soup.Message.response_body.data
returns uint8[] instead string, like in older versions. Is there any
standart way to convert this value
My question is how to indicate in a .vapi that the target of a
delegate is in a certain position.
Let me explain first my case:
The omx callbacks do not receive the target in the last position, but
in the second (app_data):
public delegate Error EmptyBufferDoneFunc(
Handle component,
Hi,
Gabe Gorelick-Feldman wrote:
It seems that vapigen just uses the name of the package as the
cheader_filename. Is that the correct behavior or am I doing something
wrong, and if that is the expected behavior, is there a way to change it
with the metadata file?
like all other bindings are
I noticed that GLib.FileStream does not have bindings for fread nor fwrite.
So raised a bug:
https://bugzilla.gnome.org/show_bug.cgi?id=609496
And created a patch that adds them:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=153387
Could someone review it please?
It works in my
@Abderrahim, thanks for the resource. Also, maybe the cheader_filename
should be documented in the official bindings tutorial [1], if it's so
important that every binding uses it.
[1] http://live.gnome.org/Vala/Bindings
On Wed, Feb 10, 2010 at 4:02 PM, Abderrahim Kitouni
Hello All,
New to Vala. Looks interesting. Is there any documentation or discussion
(mailing list logs, etc) that detail the how generics are implemented in
Vala? In particular, how do you handle the issue of multiple template
instantiation that many early C++ compilers had?
That is, if I create
Wow! I'm an idiot. I just found the documentation for this in the Vala
Tutorial. I don't know how I missed it the first time I read it.
Please ignore my rather silly question.
Thanks.
On Wed, 2010-02-10 at 23:44 -0500, Gerald Edward Butler wrote:
Hello All,
New to Vala. Looks interesting.
12 matches
Mail list logo