Commit a68fe78d authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

remove argc parameter

2006-08-18  Jürg Billeter  <j@bitron.ch>

	* vapigen/valavapigen.vala, packages/gtk+-2.0/gtk+-2.0-custom.vala:
	  remove argc parameter

svn path=/trunk/; revision=108
parent 0898bc7a
2006-08-18 Jürg Billeter <j@bitron.ch>
* vapigen/valavapigen.vala, packages/gtk+-2.0/gtk+-2.0-custom.vala:
remove argc parameter
2006-08-18 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: set no_array_length flag on generated
......
......@@ -22,8 +22,7 @@
[CCode (cheader_filename = "gtk/gtk.h")]
namespace Gtk {
[NoArrayLength ()]
public void init (ref int argc, out string[] argv);
public void init (out string[] args);
public void main ();
public void main_quit ();
}
......@@ -168,14 +168,13 @@ class Vala.VAPIGen {
return quit ();
}
[NoArrayLength ()]
static int main (int argc, string[] argv) {
static int main (string[] args) {
Error err = null;
var opt_context = new OptionContext ("- Vala API Generator");
opt_context.set_help_enabled (true);
opt_context.add_main_entries (options, null);
opt_context.parse (ref argc, out argv, out err);
opt_context.parse (out args, out err);
if (err != null) {
return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment