mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2002-03-07 Mike Kestner <mkestner@speakeasy.net>
* generator/CodeGenerator.cs : Refactor generatable iteration. * generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values. svn path=/trunk/gtk-sharp/; revision=3008
This commit is contained in:
parent
7c31e5f7cb
commit
95d51167de
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-07 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* generator/CodeGenerator.cs : Refactor generatable iteration.
|
||||||
|
* generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values.
|
||||||
|
|
||||||
2002-03-02 Mike Kestner <mkestner@speakeasy.net>
|
2002-03-02 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* makefile : add linux build.
|
* makefile : add linux build.
|
||||||
|
@ -23,9 +23,7 @@ namespace GtkSharp.Generation {
|
|||||||
SymbolTable table = p.Parse ();
|
SymbolTable table = p.Parse ();
|
||||||
Console.WriteLine (table.Count + " types parsed.");
|
Console.WriteLine (table.Count + " types parsed.");
|
||||||
|
|
||||||
IDictionaryEnumerator de = table.GetEnumerator();
|
foreach (IGeneratable gen in table.Generatables) {
|
||||||
while (de.MoveNext()) {
|
|
||||||
IGeneratable gen = (IGeneratable) de.Value;
|
|
||||||
gen.Generate (table);
|
gen.Generate (table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,9 +84,10 @@ namespace GtkSharp.Generation {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public IDictionaryEnumerator GetEnumerator()
|
public IEnumerable Generatables {
|
||||||
{
|
get {
|
||||||
return complex_types.GetEnumerator();
|
return complex_types.Values;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String Trim(String type)
|
private String Trim(String type)
|
||||||
|
Loading…
Reference in New Issue
Block a user