mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Rachel Hestilow](/assets/img/avatar_default.png)
* glib/GException.cs: Added. * generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws an exception. Call parms.HandleException. * generator/Paramaters.cs: Add property ThrowsException (based on a trailing GError**). If ThrowsException, mask GError in the signature, initialize a GError in Initialize, and add new method HandleException to throw an exception if error != null. * generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type. * gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32: Added. * configure.in, Makefile, makefile.win32: Build gdk.imaging. * gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging. * parser/gapi2xml.pl: Support namespace renaming. * parser/build.pl: Build gdk-pixbuf as gdk.imaging. svn path=/trunk/gtk-sharp/; revision=5281
23 lines
460 B
Perl
Executable File
23 lines
460 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
|
|
$file = "../generator/gtkapi.xml";
|
|
|
|
unlink ($file);
|
|
|
|
%ns = ( "Atk" => "atk-1.0.2/atk",
|
|
"Pango" => "pango-1.0.2/pango",
|
|
"Gdk" => "gtk+-2.0.3/gdk",
|
|
"Gdk.Imaging" => "gtk+-2.0.3/gdk-pixbuf",
|
|
"Gtk" => "gtk+-2.0.3/gtk");
|
|
|
|
%c_ns = ( "Gdk.Imaging" => "Gdk");
|
|
|
|
foreach $key (keys %ns) {
|
|
$dir = $ns{$key};
|
|
if (not ($c_key = $c_ns{$key})) {
|
|
$c_key = $key;
|
|
}
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $c_key $file --out-ns $key");
|
|
}
|
|
|