diff --git a/ChangeLog b/ChangeLog index a95a5ad61..95e0e840b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-20 Rachel Hestilow + + * generator/SymbolTable.cs (Trim): Work around "void*". + Libart has a lovely API... + 2002-08-22 Mike Kestner * glib/IWrapper.cs : remove set_Handle diff --git a/generator/SymbolTable.cs b/generator/SymbolTable.cs index ff5d536dc..e2a3fb35b 100644 --- a/generator/SymbolTable.cs +++ b/generator/SymbolTable.cs @@ -112,6 +112,10 @@ namespace GtkSharp.Generation { private static string Trim(string type) { + // HACK: If we don't detect this here, there is no + // way of indicating it in the symbol table + if (type == "void*" || type == "const-void*") return "gpointer"; + string trim_type = type.TrimEnd('*'); if (trim_type.StartsWith("const-")) return trim_type.Substring(6); return trim_type;