Skip to content

Commit 95a2d59

Browse files
committed
加上TODO
1 parent 6025114 commit 95a2d59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unity/Assets/core/upm/Runtime/Src/PInvoke/Wrapper/ExpressionsWrap.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ private static Expression nativeToScript(CompileContext context, Type type, Expr
482482
var toScriptMethod = typeof(Helpper).GetMethod(nameof(Helpper.NativeToScript_String));
483483
return Expression.Call(toScriptMethod, context.Apis, context.Env, value);
484484
}
485+
//TODO: 用例没有覆盖
485486
else if (tranType == typeof(byte) || tranType == typeof(sbyte) || tranType == typeof(short) || tranType == typeof(ushort))
486487
{
487488
return callPApi(context.Apis, "create_int32", context.Env, Expression.Convert(value, typeof(int)));

0 commit comments

Comments
 (0)