Skip to content

Commit 6192a4a

Browse files
fix: errors after rebase
1 parent 081d6ac commit 6192a4a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • packages/react-native-executorch/common/rnexecutorch/host_objects

packages/react-native-executorch/common/rnexecutorch/host_objects/JsiConversions.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -369,16 +369,6 @@ inline jsi::Value getJsiValue(uint64_t val, jsi::Runtime &runtime) {
369369
return {runtime, bigInt};
370370
}
371371

372-
inline jsi::Value getJsiValue(const std::vector<uint64_t> &vec,
373-
jsi::Runtime &runtime) {
374-
jsi::Array array(runtime, vec.size());
375-
for (size_t i = 0; i < vec.size(); i++) {
376-
// JS numbers are doubles. Large uint64s > 2^53 will lose precision.
377-
array.setValueAtIndex(runtime, i, jsi::Value(static_cast<double>(vec[i])));
378-
}
379-
return {runtime, array};
380-
}
381-
382372
inline jsi::Value getJsiValue(const std::vector<int64_t> &vec,
383373
jsi::Runtime &runtime) {
384374
jsi::Array array(runtime, vec.size());

0 commit comments

Comments
 (0)