From 38e7bdeec59a6f2eed86247749cfef84b3695600 Mon Sep 17 00:00:00 2001 From: Rachel Hestilow Date: Wed, 28 Aug 2002 20:58:01 +0000 Subject: [PATCH] 2002-08-28 Rachel Hestilow * generator/CallbackGen.cs: Generate wrappers to map from managed delegates to native ones. * generator/Ctor.cs: Call parms.Initialize for the static case. * generator/Parameters.cs: Add "CType" property. Append [] to CSType if necessary. Add "HideData" property if a container wishes to hide the user_data (used in callbacks). (Initialize): Add case for callback. * generator/SymbolTable.cs: Add size_t. * glue/program.c: string[] marshalling is no longer broken, remove hack. * sources/Gtk.metadata: Disable GtkColorSelection.SetChangePaletteHook and GtkTreeView.GetSearchEqualFunc for now, they return delegates and we don't support native->managed delegate mapping yet. svn path=/trunk/gtk-sharp/; revision=7133 --- ChangeLog | 19 ++++++ api/gtk-api.xml | 4 +- generator/CallbackGen.cs | 124 +++++++++++++++++++++++++++++++++++++-- generator/Ctor.cs | 2 +- generator/Parameters.cs | 88 +++++++++++++++++++++++---- generator/SymbolTable.cs | 1 + glue/program.c | 9 +-- sources/Gtk.metadata | 24 ++++++++ 8 files changed, 246 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index 01308fd77..96a6b9ad2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2002-08-28 Rachel Hestilow + + * generator/CallbackGen.cs: Generate wrappers to map + from managed delegates to native ones. + * generator/Ctor.cs: Call parms.Initialize for the static case. + * generator/Parameters.cs: Add "CType" property. Append [] + to CSType if necessary. Add "HideData" property if a container + wishes to hide the user_data (used in callbacks). + (Initialize): Add case for callback. + * generator/SymbolTable.cs: Add size_t. + + * glue/program.c: string[] marshalling is no longer broken, + remove hack. + + * sources/Gtk.metadata: Disable + GtkColorSelection.SetChangePaletteHook and + GtkTreeView.GetSearchEqualFunc for now, they return delegates and + we don't support native->managed delegate mapping yet. + 2002-08-28 Joe Shaw * makefile: Add the art directory back in; fixes the build. diff --git a/api/gtk-api.xml b/api/gtk-api.xml index d435ec45b..ea91478f7 100644 --- a/api/gtk-api.xml +++ b/api/gtk-api.xml @@ -2196,7 +2196,7 @@ - +