Browse Source

Generator: support typedefs

pull/1/head
14 years ago
parent
commit
f919eef6f9
  1. 2
      src/generator/Generator.cs

2
src/generator/Generator.cs

@ -376,6 +376,8 @@ public class Generator { @@ -376,6 +376,8 @@ public class Generator {
CppType GetType (Node n, CppType modifiers) {
switch (n.Type) {
case "Typedef":
return GetType (GetTypeNode (n), modifiers);
case "ArrayType":
return GetType (GetTypeNode (n), modifiers.Modify (CppModifiers.Array));
case "PointerType":

Loading…
Cancel
Save