Skip to content

Commit 443677c

Browse files
authored
Merge pull request loongly#4 from quicklyslow/master
unity2019导出了Baselib,用到了System.UIntPtr类型对应c++的size_t
2 parents bbe2022 + 3d5e1ce commit 443677c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

BindGenerater/Generater/C/CTypeResolver.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public virtual string TypeName()
102102
return "uint8_t";
103103
case "SByte":
104104
return "int8_t";
105+
case "UIntPtr":
106+
return "size_t";
105107
}
106108

107109
return type.Name;

0 commit comments

Comments
 (0)