| 2 | #include <string> |
| 3 | |
| 4 | rust::String jsiStringToRustString( |
| 5 | const facebook::jsi::String &jsi_string, |
| 6 | facebook::jsi::Runtime &runtime) { |
| 7 | std::string std_string = jsi_string.utf8(runtime); |
| 8 | return rust::String(std_string); |
| 9 | } |
| 10 | |
| 11 | rust::Vec<rust::String> jsiStringArrayToRustVec( |
| 12 | const facebook::jsi::Array &jsi_array, |
no outgoing calls
no test coverage detected