Ryujinx-GtkSharp/generator
Gonzalo Paniagua Javier 3821938764 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/CallbackGen.cs: the new generated wrappers have:
		-(optional) Field of the same type returned by the callback.
		-A call to RemoveIfNotAlive at the beginning. It returns true,
		return the dummy field.
		-Added an object to the ctor signature and pass it to the base
		class.

	* generator/Ctor.cs: added a Params property.

	* generator/Method.cs: set Static property in Parameters if the method
	is static.

	* generator/Parameters.cs: added Static property. The call creation of
	the delegate wrapper (if applicable) uses the new signature. Pass a null
	as object is the method is static.

	* generator/StructBase.cs: set Static for the parameters of the ctors.

	* glib/DelegateWrapper.cs: the ctor takes an object (the one creating
	the wrapper or null) and creates a weak reference to it. Store it in
	a static Hashtable (this way the wrapper itself is not garbage
	collected).
	(RemoveIfNotAlive): called from the native delegate callbacks. If the
	target of the weak reference has been garbage collected, removes itself
	from the hashtable to let the GC dispose this instance and returns true.

	* gdk/Pixbuf.custom:
	* gtk/Clipboard.custom:
	* gtk/GtkSharp.GtkClipboardClearFuncNative.cs:
	* gtk/GtkSharp.GtkClipboardGetFuncNative.cs:
	* glade/XML.custom: changed delegate wrappers to match the new
	signature.

svn path=/trunk/gtk-sharp/; revision=13237
2003-04-06 09:21:15 +00:00
..
.cvsignore 2002-06-21 Mike Kestner <mkestner@speakeasy.net> 2002-06-21 12:29:04 +00:00
BoxedGen.cs 2002-08-19 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 19:56:18 +00:00
CallbackGen.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
ClassBase.cs 2002-10-26 Mike Kestner <mkestner@speakeasy.net> 2002-10-26 08:03:16 +00:00
CodeGenerator.cs 2002-08-19 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 19:56:18 +00:00
Ctor.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
EnumGen.cs generator/EnumGen.cs: Added support for different types. Useful for the 2003-02-18 17:28:51 +00:00
GenBase.cs 2003-02-23 Mike Kestner <mkestner@speakeasy.net> 2003-02-24 05:20:04 +00:00
IGeneratable.cs 2002-08-19 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 19:56:18 +00:00
InterfaceGen.cs 2003-01-05 Duncan Mak <duncan@ximian.com> 2003-01-05 23:51:37 +00:00
Makefile.in 2002-08-23 Rachel Hestilow <hestilow@ximian.com> 2002-08-23 21:22:16 +00:00
makefile.win32 2002-10-26 Mike Kestner <mkestner@speakeasy.net> 2002-10-27 02:30:51 +00:00
Method.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
ObjectGen.cs 2003-02-24 Mike Kestner <mkestner@speakeasy.net> 2003-02-24 06:39:30 +00:00
OpaqueGen.cs 2003-01-05 Duncan Mak <duncan@ximian.com> 2003-01-05 23:51:37 +00:00
Parameters.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
Parser.cs 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-02-26 02:16:38 +00:00
Property.cs 2002-08-08 Mike Kestner <mkestner@speakeasy.net> 2002-08-09 04:27:15 +00:00
Signal.cs 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-02-26 02:16:38 +00:00
SignalHandler.cs 2003-04-02 Charles Iliya Krempeaux <charles@reptile.ca> 2003-04-02 22:29:26 +00:00
Statistics.cs 2002-07-25 Rachel Hestilow <hestilow@ximian.com> 2002-07-26 06:08:52 +00:00
StructBase.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
StructGen.cs 2002-08-19 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 19:56:18 +00:00
SymbolTable.cs 2002-12-24 Mike Kestner <mkestner@speakeasy.net> 2002-12-25 00:36:00 +00:00