added IsPointer member to DNA field data

This commit is contained in:
mm00
2025-02-19 17:07:37 +01:00
parent 095986af06
commit f327f18b57
2 changed files with 42 additions and 4 deletions

View File

@@ -1,10 +1,14 @@
using System.Runtime.CompilerServices;
namespace CodeGenerator {
public static class StrExt {
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string ParseFName(this string str) {
str = str.Replace("*", "ptr_");
return str;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string ParseFType(this string str) {
return str switch {
"char" => typeof(char).AssemblyQualifiedName,