mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
fix ability_runtime warning 0307
Signed-off-by: holani <3170074871@qq.com>
This commit is contained in:
@@ -765,12 +765,6 @@ CJEnvMethods* CJEnvironment::CreateEnvMethods()
|
||||
.startDebugger = []() {
|
||||
return CJEnvironment::GetInstance()->StartDebugger();
|
||||
},
|
||||
.registerArkVMInRuntime = [](unsigned long long arkVM) {
|
||||
CJEnvironment::GetInstance()->RegisterArkVMInRuntime(arkVM);
|
||||
},
|
||||
.registerStackInfoCallbacks = [](UpdateStackInfoFuncType uFunc) {
|
||||
CJEnvironment::GetInstance()->RegisterStackInfoCallbacks(uFunc);
|
||||
},
|
||||
.registerCJUncaughtExceptionHandler = [](const CJUncaughtExceptionInfo& handle) {
|
||||
return CJEnvironment::GetInstance()->RegisterCJUncaughtExceptionHandler(handle);
|
||||
},
|
||||
@@ -779,6 +773,12 @@ CJEnvMethods* CJEnvironment::CreateEnvMethods()
|
||||
},
|
||||
.checkLoadCJLibrary = []() {
|
||||
return CJEnvironment::GetInstance()->CheckLoadCJLibrary();
|
||||
},
|
||||
.registerArkVMInRuntime = [](unsigned long long arkVM) {
|
||||
CJEnvironment::GetInstance()->RegisterArkVMInRuntime(arkVM);
|
||||
},
|
||||
.registerStackInfoCallbacks = [](UpdateStackInfoFuncType uFunc) {
|
||||
CJEnvironment::GetInstance()->RegisterStackInfoCallbacks(uFunc);
|
||||
}
|
||||
};
|
||||
return &gCJEnvMethods;
|
||||
|
||||
Reference in New Issue
Block a user