mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 04:15:30 +00:00
ac4cc59206
* gapi-cdecl-insert : a little perl script to insert modopts * Makefile.am : dist the new script. for cdecl callback delegates on win32. * glade/makefile.win32 : use gapi-cdecl-insert * glade/XML.custom : add [GLib.CDeclCallback] to RawXMLConnectFunc. * glib/makefile.win32 : use gapi-cdecl-insert * glib/CDeclCallbackAttribute.cs : new attr to tag delegates with that will be invoked from native code. We have to mangle the il with a modopt otherwise they are stdcall'd. * glib/ManagedValue.cs : add [GLib.CDeclCallback] to Copy/Free. switch to using GCHandles instead of the current IntPtr hack. svn path=/trunk/gtk-sharp/; revision=42168
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
all: windows
|
|
|
|
windows:
|
|
$(CSC) /unsafe /nowarn:0660,0661 /target:library /out:glib-sharp.dll /recurse:*.cs
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk glib-sharp.dll
|
|
cd glue && make -f makefile.win32
|
|
|
|
clean:
|
|
rm -f glib-sharp.dll
|
|
cd glue && make -f makefile.win32 clean
|