(str)
| 8132 | const enum_1 = require("../base/enum"); |
| 8133 | const allocStrInner = (str, type = enum_1.TYPE_STR.C_STR) => type == enum_1.TYPE_STR.C_STR ? Memory.allocUtf8String(str) : Il2Cpp.Api._stringNew(Memory.allocUtf8String(str)); |
| 8134 | const allocCStr = (str) => allocStrInner(str, enum_1.TYPE_STR.C_STR); |
| 8135 | exports.allocCStr = allocCStr; |
| 8136 | const allocUStr = (str) => allocStrInner(str, enum_1.TYPE_STR.U_STR); |
| 8137 | exports.allocUStr = allocUStr; |
no test coverage detected