Browse Source

Merge branch 'master' into update_geometry_segments_onpropchange

pull/5042/head
Jumar Macato 6 years ago
committed by GitHub
parent
commit
d576fcc374
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/tools/MicroComGenerator/CppGen.cs

5
src/tools/MicroComGenerator/CppGen.cs

@ -14,7 +14,10 @@ namespace MicroComGenerator
name = "unsigned char";
else if(name == "uint")
name = "unsigned int";
return name + new string('*', type.PointerLevel);
type = type.Clone();
type.Name = name;
return type.Format();
}
public static string GenerateCpp(AstIdlNode idl)

Loading…
Cancel
Save