Nicolas píše v St 09. 12. 2009 v 18:24 +0100:
[...]Could you post the code that segfaults? That's probably a bug in Vala.
Thank you. That's not a Vala bug. There is a problem that you don't supply Map's constructor with custom hash and equality methods. In that case, Map will only compare references, which are different each time you call it. That means the values you get are always null, which leads to segfault because you aren't checking for nulls. See my attached code. :)
Attachment:
map.vala
Description: Text Data
Attachment:
signature.asc
Description: Toto je digitálně podepsaná část zprávy