[Vala] Fwd: Immutable variables

2010-02-05 Thread Fredderic Unpenstein
One of these days I'll get the hang of this annoying thing, and stop replying to posts personally. Or get a real client going again. (Reposted to the group) 2010/1/17 pancake panc...@youterm.com: For example, you have a function that returns a const buffer, which is contained in a read-only

Re: [Vala] for loop and closure (bug or big gotcha?)

2010-02-05 Thread Jiří Zárevúcky
Jiří Zárevúcky píše v Pá 05. 02. 2010 v 16:08 +0100: Fredderic Unpenstein píše v Pá 05. 02. 2010 v 23:57 +1100: 2010/1/23 Sam Liddicott s...@liddicott.com: I used a language called charamel for controlling 3d figurs. It's closures supported variables in 2 ways. Like valàa

Re: [Vala] Questions on async functions

2010-02-05 Thread Nor Jaidi Tuah
I haven't actually used async's, so I'm not sure of the specifics, but I've used that structure to simulate pretty much exactly what you're suggesting. In my case, each async function had an initialiser that built and queued a structure with all the required variables, plus one which was