src/TypeManager.h
changeset 146 dc7d3b7a918c
parent 145 e9d804821c48
child 147 9c544823d090
     1.1 --- a/src/TypeManager.h	Wed Aug 01 22:32:59 2012 -0700
     1.2 +++ b/src/TypeManager.h	Sat Aug 04 17:51:43 2012 -0700
     1.3 @@ -52,6 +52,7 @@
     1.4      Type *newEnum(Handle<String> name);
     1.5      Type *newFunction(Handle<Type> returnType, Handle<FixedArray> args);
     1.6      Type *newNative(Handle<Type> returnType, Handle<FixedArray> args, bool variadic);
     1.7 +    Type *newStruct(Handle<String> name, Handle<FixedArray> fields);
     1.8      
     1.9      void accept(VirtualObjectVisitor *visitor);
    1.10  };