mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-02 18:31:11 +00:00
2005-04-20 Mike Kestner <mkestner@novell.com>
* generator/*.cs : cleanup the unused private member warnings. svn path=/trunk/gtk-sharp/; revision=43370
This commit is contained in:
parent
e56d2feafc
commit
251cb8e4be
|
@ -1,3 +1,7 @@
|
||||||
|
2005-04-20 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* generator/*.cs : cleanup the unused private member warnings.
|
||||||
|
|
||||||
2005-04-20 Mike Kestner <mkestner@novell.com>
|
2005-04-20 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* parser/gapi-parser.cs : add a directory element with child exclude
|
* parser/gapi-parser.cs : add a directory element with child exclude
|
||||||
|
|
|
@ -29,9 +29,6 @@ namespace GtkSharp.Generation {
|
||||||
|
|
||||||
public class ClassGen : ClassBase {
|
public class ClassGen : ClassBase {
|
||||||
|
|
||||||
private ArrayList strings = new ArrayList();
|
|
||||||
private static Hashtable namespaces = new Hashtable ();
|
|
||||||
|
|
||||||
public ClassGen (XmlElement ns, XmlElement elem) : base (ns, elem) {}
|
public ClassGen (XmlElement ns, XmlElement elem) : base (ns, elem) {}
|
||||||
|
|
||||||
public override void Generate (GenerationInfo gen_info)
|
public override void Generate (GenerationInfo gen_info)
|
||||||
|
|
|
@ -36,11 +36,6 @@ namespace GtkSharp.Generation {
|
||||||
this.impl_ns = impl_ns;
|
this.impl_ns = impl_ns;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool UsesHandle (IGeneratable igen)
|
|
||||||
{
|
|
||||||
return igen is ManualGen || igen is ObjectGen || igen is InterfaceGen || igen is OpaqueGen;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string ToString ()
|
public override string ToString ()
|
||||||
{
|
{
|
||||||
if (parameters.Count == 0)
|
if (parameters.Count == 0)
|
||||||
|
|
|
@ -37,11 +37,6 @@ namespace GtkSharp.Generation {
|
||||||
this.impl_ns = impl_ns;
|
this.impl_ns = impl_ns;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool UsesHandle (IGeneratable igen)
|
|
||||||
{
|
|
||||||
return igen is ManualGen || igen is ObjectGen || igen is InterfaceGen || igen is OpaqueGen;
|
|
||||||
}
|
|
||||||
|
|
||||||
private string CastFromInt (string type)
|
private string CastFromInt (string type)
|
||||||
{
|
{
|
||||||
return type != "int" ? "(" + type + ") " : "";
|
return type != "int" ? "(" + type + ") " : "";
|
||||||
|
|
|
@ -81,17 +81,6 @@ namespace GtkSharp.Generation {
|
||||||
Statistics.OpaqueCount++;
|
Statistics.OpaqueCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool Validate ()
|
|
||||||
{
|
|
||||||
if (methods != null)
|
|
||||||
foreach (Method method in methods.Values)
|
|
||||||
if (!method.Validate()) {
|
|
||||||
Console.WriteLine ("in Opaque" + QualifiedName);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void GenCtors (GenerationInfo gen_info)
|
protected override void GenCtors (GenerationInfo gen_info)
|
||||||
{
|
{
|
||||||
if (!DisableRawCtor) {
|
if (!DisableRawCtor) {
|
||||||
|
|
Loading…
Reference in a new issue