mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02: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>
|
||||
|
||||
* parser/gapi-parser.cs : add a directory element with child exclude
|
||||
|
@ -29,9 +29,6 @@ namespace GtkSharp.Generation {
|
||||
|
||||
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 override void Generate (GenerationInfo gen_info)
|
||||
|
@ -36,11 +36,6 @@ namespace GtkSharp.Generation {
|
||||
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 ()
|
||||
{
|
||||
if (parameters.Count == 0)
|
||||
|
@ -37,11 +37,6 @@ namespace GtkSharp.Generation {
|
||||
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)
|
||||
{
|
||||
return type != "int" ? "(" + type + ") " : "";
|
||||
|
@ -81,17 +81,6 @@ namespace GtkSharp.Generation {
|
||||
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)
|
||||
{
|
||||
if (!DisableRawCtor) {
|
||||
|
Loading…
Reference in New Issue
Block a user