mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-19 08:37:50 +00:00
2002-03-29 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs (Trim): revamp TrimEnd call. svn path=/trunk/gtk-sharp/; revision=3501
This commit is contained in:
parent
28049f1c2b
commit
ff61ba7907
|
@ -1,3 +1,7 @@
|
||||||
|
2002-03-29 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* generator/SymbolTable.cs (Trim): revamp TrimEnd call.
|
||||||
|
|
||||||
2002-03-28 Mike Kestner <mkestner@speakeasy.net>
|
2002-03-28 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/SignalHandler.cs : switch to 2.0 libs
|
* generator/SignalHandler.cs : switch to 2.0 libs
|
||||||
|
|
|
@ -92,8 +92,7 @@ namespace GtkSharp.Generation {
|
||||||
|
|
||||||
private String Trim(String type)
|
private String Trim(String type)
|
||||||
{
|
{
|
||||||
char[] ast = {'*'};
|
String trim_type = type.TrimEnd('*');
|
||||||
String trim_type = type.TrimEnd(ast);
|
|
||||||
if (trim_type.StartsWith("const-")) return trim_type.Substring(6);
|
if (trim_type.StartsWith("const-")) return trim_type.Substring(6);
|
||||||
return trim_type;
|
return trim_type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue