2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* generator/SymbolTable.cs (Trim): Work around "void*". Libart has a lovely API... svn path=/trunk/gtk-sharp/; revision=6836
This commit is contained in:
parent
15432372a6
commit
2d8d20e341
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
||||
* generator/SymbolTable.cs (Trim): Work around "void*".
|
||||
Libart has a lovely API...
|
||||
|
||||
2002-08-22 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* glib/IWrapper.cs : remove set_Handle
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue