7fb558bea0
* generator/ClassBase.cs: Add accessors for methods and signals. Change GenSignals and GenMethods to public, as csc has a different idea of protected than mcs. Handle interface collisions in GenMethods. * generator/Method.cs: Add accessor Protection - "public" by default. * generator/ObjectGen.cs: Make sure wrapper's Signals hashtable only gets generated once. Generate a list of collisions for GenMethods. Remove dead foreach loop from Validate. * generator/Paramaters.cs (CreateSignature): Initialize last_param. * parser/Gtk.metadata: Add property & event collision renames for TextBuffer and OldEditable. * sample/makefile.win32: Reference atk-sharp.dll. * makefile.win32: Do not build gdk.imaging. svn path=/trunk/gtk-sharp/; revision=5420
17 lines
434 B
Perl
Executable file
17 lines
434 B
Perl
Executable file
#!/usr/bin/perl -w
|
|
|
|
$file = "../generator/gtkapi.xml";
|
|
|
|
unlink ($file);
|
|
|
|
%srcs = ( "atk-1.0.2/atk" => "Atk:atk-1.0",
|
|
"pango-1.0.2/pango" => "Pango:pango-1.0",
|
|
"gtk+-2.0.3/gdk" => "Gdk:gdk-x11-2.0",
|
|
"gtk+-2.0.3/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
|
|
"gtk+-2.0.3/gtk" => "Gtk:gtk-x11-2.0");
|
|
|
|
foreach $dir (keys %srcs) {
|
|
($ns, $lib) = split (/:/, $srcs{$dir});
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
|
|
}
|
|
|