added uint64_t compat file

This commit is contained in:
Samuele Lorefice
2025-01-22 17:40:14 +01:00
parent 3bcbde6bb2
commit 2d6159e331
939 changed files with 28 additions and 954 deletions

View File

@@ -220,11 +220,11 @@ namespace CodeGenerator {
VerbatimOrder = true
};
provider = new();
var date = DateTime.Now.ToString(CultureInfo.InvariantCulture);
//var date = DateTime.Now.ToString(CultureInfo.InvariantCulture);
CodeNamespace globalNs = new CodeNamespace();
CodeComment comment = new CodeComment("Automatically generated by BlenderSharp at " + date, false);
globalNs.Comments.Add(new(comment));
//CodeComment comment = new CodeComment("Automatically generated by BlenderSharp at " + date, false);
//globalNs.Comments.Add(new(comment));
globalNs.Imports.Add(new("System"));
globalNs.Imports.Add(new("BlendFile.CompatTypes"));

View File

@@ -14,6 +14,7 @@ namespace CodeGenerator {
"double" => typeof(double).AssemblyQualifiedName,
"string" => typeof(string).AssemblyQualifiedName,
"void" => typeof(object).AssemblyQualifiedName,
"ushort" => typeof(ushort).AssemblyQualifiedName,
_ => str
};
}