private static void ProcessArray(AST ast, NativeType type, CXType cxType, TypeVisitContext context) { // set as array CXType elementType = clang.getArrayElementType(cxType); NativeArrayType arr = new NativeArrayType { Count = (int)clang.getArraySize(cxType), Type = GetNativeType(ast, elementType, context) }; type.SetArray(arr); }
public void SetArray(NativeArrayType arr) { SetType(BasicType.Array, arr); }