2004-11-18 Mike Kestner <mkestner@novell.com>

* generator/AliasGen.cs : make this a SimpleGen.

svn path=/trunk/gtk-sharp/; revision=36288
This commit is contained in:
Mike Kestner 2004-11-18 21:51:56 +00:00
parent 26234d915b
commit 487929df7f
2 changed files with 6 additions and 72 deletions

View File

@ -1,3 +1,7 @@
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : make this a SimpleGen.
2004-11-18 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix a missing semi in a vm regex.

View File

@ -22,79 +22,9 @@ namespace GtkSharp.Generation {
using System;
public class AliasGen : IGeneratable {
string type;
string ctype;
public AliasGen (string ctype, string type)
{
this.ctype = ctype;
this.type = type;
}
public string CName {
get
{
return ctype;
}
}
public string Name {
get
{
return type;
}
}
public string QualifiedName {
get
{
return type;
}
}
public string MarshalType {
get
{
return type;
}
}
public virtual string MarshalReturnType {
get
{
return type;
}
}
public string CallByName (string var_name)
{
return var_name;
}
public string FromNative(string var)
{
return var;
}
public virtual string FromNativeReturn(string var)
{
return var;
}
public virtual string ToNativeReturn(string var)
{
return var;
}
public void Generate ()
{
}
public void Generate (GenerationInfo gen_info)
{
}
public class AliasGen : SimpleGen {
public AliasGen (string ctype, string type) : base (ctype, type) {}
}
}