Re: [Vala] Strange Map behaviour in Gee
- From: Didier 'Ptitjes' <ptitjes free fr>
- To: Magnus Therning <magnus therning org>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Strange Map behaviour in Gee
- Date: Thu, 24 Sep 2009 15:34:46 +0200
Magnus Therning wrote:
2009/9/23 Matías De la Puente <mfpuente ar gmail com>:
Take a look here
http://live.gnome.org/Vala/Tutorial#head-7b3930bf3573a66028940bf6123b19e19a33f9a5
should be:
var map = new HashMap<string, string> (str_hash, str_equal);
Bugger, yes you are right. I'm such an idiot at times ;-)
Starting with the 0.5 version (expected to be release at the end of the
week), you won't be forced anymore to provide functions to the
implementations almost for (non-boxed) primitive types, strings, and
objects. Also in 0.5, a Comparable interface is provided for those who
wants to implement order amongst the instance of a class.
Best, regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]