MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / LITE_clear_last_error

Function LITE_clear_last_error

lite/lite-c/src/global.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void LITE_clear_last_error() {
44 LITE_LOCK_GUARD(mtx_error);
45 get_global_error().clear_error();
46}
47
48const char* LITE_get_last_error() {
49 LITE_LOCK_GUARD(mtx_error);

Callers 1

TESTFunction · 0.85

Calls 1

clear_errorMethod · 0.80

Tested by 1

TESTFunction · 0.68