MCPcopy Create free account
hub / github.com/apache/arrow / SafeCallIntoR

Function SafeCallIntoR

r/src/safe-call-into-r.h:251–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250template <typename T>
251arrow::Result<T> SafeCallIntoR(std::function<T(void)> fun,
252 std::string reason = "unspecified") {
253 arrow::Future<T> future = SafeCallIntoRAsync<T>(std::move(fun), reason);
254 return future.result();
255}
256
257static inline arrow::Status SafeCallIntoRVoid(std::function<void(void)> fun,
258 std::string reason = "unspecified") {

Callers

nothing calls this directly

Calls 1

resultMethod · 0.45

Tested by

no test coverage detected