This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
// Metro module 1328 (f1329).
import { LongType, ScalarType } from "./Module1320";
import { reflectionLongConvert } from "./Module1325";
import { PbLong, PbULong } from "./SharedPbLong";
export function reflectionScalarDefault(a0, r5 = LongType.STRING) {
if (ScalarType.BOOL === a0) {
return false;
}
if (ScalarType.UINT64 !== a0 && ScalarType.FIXED64 !== a0) {
if (ScalarType.INT64 !== a0 && ScalarType.SFIXED64 !== a0 && ScalarType.SINT64 !== a0) {
if (ScalarType.DOUBLE !== a0 && ScalarType.FLOAT !== a0) {
if (ScalarType.BYTES === a0) {
return new Uint8Array(0);
}
if (ScalarType.STRING === a0) {
return "";
}
return 0;
}
return 0;
}
return reflectionLongConvert(PbLong.ZERO, r5);
}
return reflectionLongConvert(PbULong.ZERO, r5);
}