We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f9d2a4 commit 4d96763Copy full SHA for 4d96763
1 file changed
wrapper.cpp
@@ -77,10 +77,6 @@ void setLog(std::string loglvl) {
77
spdlog::set_level(lvl); // Set global log level to debug
78
}
79
80
-int WrapperAPI wrapperSetCtrl(CtrlType type, void *func) {
81
- return 0;
82
-}
83
-
84
int WrapperAPI wrapperInit(pConfig cfg) {
85
int ret = 0;
86
init_threads();
@@ -322,7 +318,7 @@ int WrapperAPI wrapperSetCtrl(CtrlType type, void *func) {
322
318
printf("calculate function is null\n");
323
319
324
320
// 这里实际是往 python注册 wrapperMeterCustom 函数指针
325
- int ret = pyWrapper->wrapperSetCtrl(type, wrapperMeterCustom);
321
+ int ret = pyWrapper->wrapperSetCtrl(type, wrapperMeterCustom);
326
return ret;
327
328
return 0;
0 commit comments