Closed KellyGodLv closed 6 years ago
i have two lib a.so & b.so
a.so => state["readImage"]=kaguya::function([](const char* name)->cv::Mat{ return cv::imread(name);}); b.so => state["detect"]=kaguya::function([](cv::Mat src){ dosomething...});
lua=> local src=readImage("test.jpg") ------success call detect(src) -----error type mismatch args is cv::Mat
if two functions in same lib will be called success if two functions in diff lib will failed
add KAGUYA_SUPPORT_MULTIPLE_SHARED_LIBRARY
i have two lib a.so & b.so
a.so => state["readImage"]=kaguya::function([](const char* name)->cv::Mat{ return cv::imread(name);}); b.so => state["detect"]=kaguya::function([](cv::Mat src){ dosomething...});
lua=> local src=readImage("test.jpg") ------success call detect(src) -----error type mismatch args is cv::Mat
if two functions in same lib will be called success if two functions in diff lib will failed