新增Enum支持

This commit is contained in:
2025-11-25 17:03:43 +08:00
parent 5b235a7f26
commit 2f24d94db2
3 changed files with 90 additions and 37 deletions

View File

@@ -116,7 +116,7 @@ namespace Convention.RScript.Variable.CStyle
protected override string WritePageHead(Type currentType)
{
return $"#include\"{GetFilename(currentType)}\"";
return $"#include\"{GetFilename(currentType.BaseType)}\"";
}
public override string GetFilename(Type currentType)