Re: [Vala] GLib Command Line Parsing
- From: Vlad <b100dian gmail com>
- To: Émilien Tlapale <emilien tlapale com>
- Cc: Vala ML <vala-list gnome org>
- Subject: Re: [Vala] GLib Command Line Parsing
- Date: Tue, 15 Jan 2008 16:26:55 +0200
Émilien Tlapale wrote:
Thanks!
I was missing the `const' qualifier. As const variables
need not to be put inside methods, i need to add static variables
or global ones to handle the arguments :(
Anyway, why in OptionContext's method :
public bool parse (out string[] argv) throws OptionError;
argv is out? Shouldn't it be a ref?
++
No, because it returns _another_ argv with the rest of the (unparsed)
parameters
Cheers,
--
Vlad http://blad.wordpress.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]