| 16 | } |
| 17 | |
| 18 | double NativeClientInterface::JsProxy::identifier_check(const std::vector<uint8_t> & data,int32_t r,int64_t jret) { |
| 19 | auto ret = callMethod("identifierCheck", ::djinni::Binary::fromCpp(data), |
| 20 | ::djinni::I32::fromCpp(r), |
| 21 | ::djinni::I64::fromCpp(jret)); |
| 22 | checkError(ret); |
| 23 | return ::djinni::F64::toCpp(ret.as<double>()); |
| 24 | } |
| 25 | |
| 26 | std::string NativeClientInterface::JsProxy::return_str() { |
| 27 | auto ret = callMethod("returnStr"); |