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

Function LITE_get_last_error_code

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

Source from the content-addressed store, hash-verified

36}
37
38ErrorCode LITE_get_last_error_code() {
39 LITE_LOCK_GUARD(mtx_error);
40 return get_global_error().get_error_code();
41}
42
43void LITE_clear_last_error() {
44 LITE_LOCK_GUARD(mtx_error);

Callers 1

TESTFunction · 0.85

Calls 1

get_error_codeMethod · 0.80

Tested by 1

TESTFunction · 0.68