MCPcopy Create free account
hub / github.com/android/ndk-samples / SetAborter

Function SetAborter

base/src/main/cpp/logging.cpp:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180AbortFunction SetAborter(AbortFunction&& aborter) {
181 AbortFunction old_aborter = std::move(Aborter());
182 Aborter() = std::move(aborter);
183 return old_aborter;
184}
185
186// This indirection greatly reduces the stack impact of having lots of
187// checks/logging in a function.

Callers 1

InitLoggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected