diff --git a/frameworks/innerkitsimpl/converter/include/matrix.h b/frameworks/innerkitsimpl/converter/include/matrix.h index 7545c4c4cde235bd4279f0dacafba3d1f3bd0cc1..f06b60835029a0dcd2095d03d30e07a1eed257a7 100644 --- a/frameworks/innerkitsimpl/converter/include/matrix.h +++ b/frameworks/innerkitsimpl/converter/include/matrix.h @@ -108,7 +108,7 @@ public: constexpr Matrix(float sx, float kx, float tx, float ky, float sy, float ty, float p0, float p1, float p2, uint32_t operType) - : fMat_{ sx, kx, tx, ky, sy, ty, p0, p1, p2 }, operType_(operType){}; + : fMat_ { sx, kx, tx, ky, sy, ty, p0, p1, p2 }, operType_(operType){}; ~Matrix() = default; diff --git a/frameworks/innerkitsimpl/pixelconverter/BUILD.gn b/frameworks/innerkitsimpl/pixelconverter/BUILD.gn index 2389606bbac1bbfc4d8bf630433c891e5b4a81e3..9f5bf5b23076e420958f1c4f1a359c8e503cb52d 100644 --- a/frameworks/innerkitsimpl/pixelconverter/BUILD.gn +++ b/frameworks/innerkitsimpl/pixelconverter/BUILD.gn @@ -146,7 +146,8 @@ ohos_shared_library("pixelconvertadapter") { external_deps = [ "hiviewdfx_hilog_native:libhilog" ] } - relative_install_dir = "module/multimedia" + + #relative_install_dir = "module/multimedia" subsystem_name = "multimedia" part_name = "multimedia_image_standard" } diff --git a/frameworks/kits/js/common/include/image_napi_utils.h b/frameworks/kits/js/common/include/image_napi_utils.h index f5d8e062fdbfaf845690c68ce484e2a3457ac1fc..f692d8d5aa5e50c2f3b30fc5c5ba013dbbe29ab8 100644 --- a/frameworks/kits/js/common/include/image_napi_utils.h +++ b/frameworks/kits/js/common/include/image_napi_utils.h @@ -26,7 +26,7 @@ #define IMG_NAPI_CHECK_RET_D(x, res, msg) \ do \ { \ - if(!(x)) \ + if (!(x)) \ { \ msg; \ return (res); \ @@ -36,7 +36,7 @@ do \ #define IMG_NAPI_CHECK_RET(x, res) \ do \ { \ - if(!(x)) \ + if (!(x)) \ { \ return (res); \ } \ @@ -69,7 +69,7 @@ do \ } \ } while (0) -#define IMG_ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) +#define IMG_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) #define GET_BUFFER_BY_NAME(root, name, res, len) ImageNapiUtils::GetBufferByName(env, (root), (name), &(res), &(len)) #define GET_UINT32_BY_NAME(root, name, res) ImageNapiUtils::GetUint32ByName(env, (root), (name), &(res)) @@ -82,7 +82,6 @@ do \ namespace OHOS { namespace Media { - class ImageNapiUtils { public: static bool GetBufferByName(napi_env env, napi_value root, const char* name, void **res, size_t* len); @@ -94,4 +93,4 @@ public: }; } // namespace Media } // namespace OHOS -#endif // IMAGE_NAPI_UTILS_H \ No newline at end of file +#endif // IMAGE_NAPI_UTILS_H diff --git a/frameworks/kits/js/common/native_module_ohos_image.cpp b/frameworks/kits/js/common/native_module_ohos_image.cpp index 3e62211bee444435af78be7614d2d1acbb9d8b01..bd70d78e60cdf60b51e492c40d40a8ab51c15035 100644 --- a/frameworks/kits/js/common/native_module_ohos_image.cpp +++ b/frameworks/kits/js/common/native_module_ohos_image.cpp @@ -43,7 +43,7 @@ static napi_module g_module = { /* * module register */ -extern "C" __attribute__((constructor)) void RegisterModule(void) +extern "C" __attribute__((constructor)) void ImageRegisterModule(void) { napi_module_register(&g_module); } diff --git a/interfaces/innerkits/include/media_errors.h b/interfaces/innerkits/include/media_errors.h index 1699dc731963e7ecdb63a9219ddbd1b358259db0..6cb2a1eeb86bd05f0c69d222a7e6796269abfdcd 100644 --- a/interfaces/innerkits/include/media_errors.h +++ b/interfaces/innerkits/include/media_errors.h @@ -109,7 +109,6 @@ const int32_t ERR_MEDIA_NUMBER_OVERFLOW = BASE_MEDIA_ERR_OFFSET + 73; const int32_t ERR_MEDIA_DIS_PLAYER_UNSUPPORTED = BASE_MEDIA_ERR_OFFSET + 74; // media distribute player unsupporteded const int32_t ERR_MEDIA_UNKNOWN = BASE_MEDIA_ERR_OFFSET + 200; // media unknown error - } // namespace Media } // namespace OHOS #endif // MEDIA_ERRORS_H diff --git a/interfaces/kits/js/common/include/image_source_napi.h b/interfaces/kits/js/common/include/image_source_napi.h index 561ea51431f1edfabb53cbcc68fab3c85dc65272..8f522dad4a969a3f8be7f2e6209a989d6ed7ec07 100644 --- a/interfaces/kits/js/common/include/image_source_napi.h +++ b/interfaces/kits/js/common/include/image_source_napi.h @@ -35,14 +35,14 @@ private: static napi_value Constructor(napi_env env, napi_callback_info info); static void Destructor(napi_env env, void *nativeObject, void *finalize); - //readonly property + // readonly property static napi_value GetSupportedFormats(napi_env env, napi_callback_info info); - //static methods + // static methods static napi_value CreateImageSource(napi_env env, napi_callback_info info); static napi_value CreateIncrementalSource(napi_env env, napi_callback_info info); - //methods + // methods static napi_value GetImageInfo(napi_env env, napi_callback_info info); static napi_value CreatePixelMap(napi_env env, napi_callback_info info); static napi_value GetImagePropertyInt(napi_env env, napi_callback_info info); @@ -58,7 +58,6 @@ private: std::shared_ptr nativeImgSrc = nullptr; bool isRelease = false; }; - } // namespace Media } // namespace OHOS #endif /* PIXEL_MAP_NAPI_H_ */ diff --git a/interfaces/kits/js/common/include/pixel_map_napi.h b/interfaces/kits/js/common/include/pixel_map_napi.h index 065fe38ea1771c72079266e51b086a897a735c2d..3764f4b54236c683ca3be70600eaa705fc67c2b8 100644 --- a/interfaces/kits/js/common/include/pixel_map_napi.h +++ b/interfaces/kits/js/common/include/pixel_map_napi.h @@ -38,14 +38,14 @@ private: static napi_value Constructor(napi_env env, napi_callback_info info); static void Destructor(napi_env env, void *nativeObject, void *finalize); - //readonly property + // readonly property static napi_value GetIsEditable(napi_env env, napi_callback_info info); - //static mothod + // static mothod static napi_value CreatePixelMap(napi_env env, napi_callback_info info); static void CreatePixelMapComplete(napi_env env, napi_status status, void *data); - //methods + // methods static napi_value ReadPixelsToBuffer(napi_env env, napi_callback_info info); static napi_value ReadPixels(napi_env env, napi_callback_info info); static napi_value WritePixels(napi_env env, napi_callback_info info); @@ -56,7 +56,6 @@ private: static napi_value getPixelBytesCount(napi_env env, napi_callback_info info); static napi_value Release(napi_env env, napi_callback_info info); - static napi_ref sConstructor_; static std::shared_ptr sPixelMap_; @@ -65,7 +64,6 @@ private: std::shared_ptr nativePixelMap_; bool isRelease = false; }; - } // namespace Media } // namespace OHOS #endif /* PIXEL_MAP_NAPI_H_ */ diff --git a/interfaces/kits/native/include/image_pixel_map.h b/interfaces/kits/native/include/image_pixel_map.h index 9dd564c6a413bca15b9c1cd9f5ed25ab9fb5d4e6..2b2b502779888bd4e5905404c638c71fdf102b33 100644 --- a/interfaces/kits/native/include/image_pixel_map.h +++ b/interfaces/kits/native/include/image_pixel_map.h @@ -117,9 +117,6 @@ struct OhosPixelMapInfo { * @since 3 * @version 1.0 */ -/* -int32_t GetImageInfo(JNIEnv *env, jobject pixelMapObject, OhosPixelMapInfo &info); -*/ /** * @brief Obtains the memory address of a given PixelMap object and locks the memory. * @@ -136,9 +133,6 @@ int32_t GetImageInfo(JNIEnv *env, jobject pixelMapObject, OhosPixelMapInfo &info * @since 3 * @version 1.0 */ -/* -int32_t AccessPixels(JNIEnv *env, jobject pixelMapObject, void **addrPtr); -*/ /** * @brief Unlocks the memory storing the pixel data of a given PixelMap to balance a successful call to {@link * AccessPixels}. @@ -151,9 +145,6 @@ int32_t AccessPixels(JNIEnv *env, jobject pixelMapObject, void **addrPtr); * @since 3 * @version 1.0 */ -/* -int32_t UnAccessPixels(JNIEnv *env, jobject pixelMapObject); -*/ #ifdef __cplusplus }; diff --git a/mock/native/include/nocopyable.h b/mock/native/include/nocopyable.h index 383f8199b9a0b2caac2db599aa693fb5c6bd0a81..e5203d024e9b3a176864681357f1ffc50d73c537 100644 --- a/mock/native/include/nocopyable.h +++ b/mock/native/include/nocopyable.h @@ -17,16 +17,25 @@ #define UTILS_BASE_NOCOPYABLE_H namespace OHOS { #define DISALLOW_COPY_AND_MOVE(className) \ +do \ +{ \ DISALLOW_COPY(className); \ - DISALLOW_MOVE(className) + DISALLOW_MOVE(className); \ +} while (0) #define DISALLOW_COPY(className) \ +do \ +{ \ className(const className&) = delete; \ - className& operator= (const className&) = delete + (className)& operator= (const className&) = delete; \ +} while (0) #define DISALLOW_MOVE(className) \ +do \ +{ \ className(className&&) = delete; \ - className& operator= (className&&) = delete + (className)& operator= ((className)&&) = delete; \ +} while (0) class NoCopyable { protected: NoCopyable() {}; @@ -36,4 +45,4 @@ private: DISALLOW_COPY_AND_MOVE(NoCopyable); }; } // namespace OHOS -#endif \ No newline at end of file +#endif diff --git a/mock/native/include/refbase.h b/mock/native/include/refbase.h index 69426221acdb9ba9a055c59af20e7c219da50a51..ea1a0323513e6e15d9858f5b7e6f01b597cd6b38 100644 --- a/mock/native/include/refbase.h +++ b/mock/native/include/refbase.h @@ -389,7 +389,7 @@ inline sptr::~sptr() } template -inline sptr::sptr(WeakRefCounter *p, bool /* force */) +inline sptr::sptr(WeakRefCounter *p, bool) { if ((p != nullptr) && p->AttemptIncStrongRef(this)) { refs_ = reinterpret_cast(p->GetRefPtr()); diff --git a/mock/native/include/rwlock.h b/mock/native/include/rwlock.h index 3a9f1f9af78680062f0b72027e13eb1f0deb9c0d..21e6cc3bd727800807d3e5abd940bd7aee9648e0 100644 --- a/mock/native/include/rwlock.h +++ b/mock/native/include/rwlock.h @@ -52,7 +52,7 @@ private: std::atomic_uint writeWaitCount_; }; -template +template class UniqueWriteGuard : NoCopyable { public: explicit UniqueWriteGuard(RWLockable &rwLockable) @@ -74,7 +74,7 @@ private: }; -template +template class UniqueReadGuard : NoCopyable { public: explicit UniqueReadGuard(RWLockable &rwLockable) diff --git a/mock/native/include/singleton.h b/mock/native/include/singleton.h index 5662fcfdc272a784ecc3e66728ee57ff20862fe6..4d35a997d87a2f4060ec5ca8ce992c1b120e19fd 100644 --- a/mock/native/include/singleton.h +++ b/mock/native/include/singleton.h @@ -22,27 +22,34 @@ namespace OHOS { #define DECLARE_DELAYED_SINGLETON(MyClass) \ +do \ +{ \ public: \ ~MyClass(); \ private: \ friend DelayedSingleton; \ - MyClass(); + MyClass(); \ +} while (0) #define DECLARE_DELAYED_REF_SINGLETON(MyClass) \ +do \ +{ \ private: \ friend DelayedRefSingleton; \ ~MyClass(); \ - MyClass(); - + MyClass(); \ +} while (0) #define DECLARE_SINGLETON(MyClass) \ +do \ +{ \ private: \ friend Singleton; \ MyClass& operator=(const MyClass&) = delete; \ MyClass(const MyClass&) = delete; \ MyClass(); \ - ~MyClass(); - + ~MyClass(); \ +} while (0) template class DelayedSingleton : public NoCopyable { diff --git a/plugins/common/libs/image/formatagentplugin/src/plugin_export.cpp b/plugins/common/libs/image/formatagentplugin/src/plugin_export.cpp index 63d32f2e640fce5ba6ab8505114732bd165f53d8..9b80719096b3d936164f74d970e6c3da43fbeb9b 100644 --- a/plugins/common/libs/image/formatagentplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/formatagentplugin/src/plugin_export.cpp @@ -51,4 +51,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibIm // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/common/libs/image/libgifplugin/src/plugin_export.cpp b/plugins/common/libs/image/libgifplugin/src/plugin_export.cpp index a34d5407c17b37ca08b183f40b070dfc691ccc44..549b117b51dcfaf7e3598595d4965fbc20826cfb 100644 --- a/plugins/common/libs/image/libgifplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/libgifplugin/src/plugin_export.cpp @@ -37,4 +37,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibGi // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/common/libs/image/libheifplugin/src/plugin_export.cpp b/plugins/common/libs/image/libheifplugin/src/plugin_export.cpp index 7173d27abd60a27f42555a67b89ce86dad42f01d..9e32a21647bb65b5d7dbcd841ceba6e218665f25 100644 --- a/plugins/common/libs/image/libheifplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/libheifplugin/src/plugin_export.cpp @@ -37,4 +37,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibHe // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/common/libs/image/libjpegplugin/src/plugin_export.cpp b/plugins/common/libs/image/libjpegplugin/src/plugin_export.cpp index 9677c35b766c410850c3bebe315dfbc7bab247c2..bac59e55efc0c4cdc6a798d37d3519e95d1bf400 100644 --- a/plugins/common/libs/image/libjpegplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/libjpegplugin/src/plugin_export.cpp @@ -41,4 +41,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibJp // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/common/libs/image/libpngplugin/src/plugin_export.cpp b/plugins/common/libs/image/libpngplugin/src/plugin_export.cpp index ed1f7697e9191b5cb72729dd7c634eeb6504268d..d9409b28016c273666949a6ad31ab311b4ee5f81 100644 --- a/plugins/common/libs/image/libpngplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/libpngplugin/src/plugin_export.cpp @@ -37,4 +37,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibPn // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/common/libs/image/libwebpplugin/src/plugin_export.cpp b/plugins/common/libs/image/libwebpplugin/src/plugin_export.cpp index d1b81c859cf3fabcd89496fb94bced9a444be1d9..57159092550d828ecae9a57a24a77465a97aa433 100644 --- a/plugins/common/libs/image/libwebpplugin/src/plugin_export.cpp +++ b/plugins/common/libs/image/libwebpplugin/src/plugin_export.cpp @@ -37,4 +37,4 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "LibWe // define the external interface of this plugin. PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/manager/BUILD.gn b/plugins/manager/BUILD.gn index b5b0040905a3372d708ecfd279da026b0af00cab..11223d876f16db7b088a0c4891627da5be04e013 100644 --- a/plugins/manager/BUILD.gn +++ b/plugins/manager/BUILD.gn @@ -76,7 +76,8 @@ ohos_shared_library("pluginmanager") { external_deps = [ "hiviewdfx_hilog_native:libhilog" ] } - relative_install_dir = "module/multimedia" + + #relative_install_dir = "module/multimedia" subsystem_name = "multimedia" part_name = "multimedia_image_standard" } diff --git a/plugins/manager/include/image/input_data_stream.h b/plugins/manager/include/image/input_data_stream.h index a2f6f514e8b434d788ea76d522e752c7d0daddba..6e4cc61b12e6976c69e5a2b8d65e0436a4ca730e 100644 --- a/plugins/manager/include/image/input_data_stream.h +++ b/plugins/manager/include/image/input_data_stream.h @@ -59,20 +59,32 @@ public: virtual bool Seek(uint32_t position) = 0; // get inherited class type - virtual uint32_t GetStreamType() { return -1; } + virtual uint32_t GetStreamType() + { + return -1; + } // get raw pointer for BUFFER TYPE - virtual uint8_t *GetDataPtr() { return nullptr; } + virtual uint8_t *GetDataPtr() + { + return nullptr; + } // whether the stream data is completed or not. - virtual bool IsStreamCompleted() { return true; } + virtual bool IsStreamCompleted() + { + return true; + } // get stream size - virtual size_t GetStreamSize() { return 0; } + virtual size_t GetStreamSize() + { + return 0; + } virtual ~InputDataStream() {} }; } // namespace ImagePlugin } // namespace OHOS -#endif // INPUT_DATA_STREAM_H \ No newline at end of file +#endif // INPUT_DATA_STREAM_H diff --git a/plugins/manager/include/plugin_service.h b/plugins/manager/include/plugin_service.h index d17422738c11424ee8906d051810038f0a01c5fb..768c80d4f2a3d7d2ef4cb2abb156b46e3ab0967a 100644 --- a/plugins/manager/include/plugin_service.h +++ b/plugins/manager/include/plugin_service.h @@ -46,12 +46,7 @@ template inline uint16_t GetInterfaceId() return INVALID_IID; } -#define DECLARE_INTERFACE(InterfaceType, interfaceID) \ - template <> \ - inline uint16_t OHOS::MultimediaPlugin::GetInterfaceId() \ - { \ - return interfaceID; \ - } +#define DECLARE_INTERFACE(InterfaceType, interfaceID) template<> inline uint16_t OHOS::MultimediaPlugin::GetInterfaceId() { return interfaceID; } } // namespace MultimediaPlugin } // namespace OHOS diff --git a/plugins/manager/include/pluginbase/plugin_utils.h b/plugins/manager/include/pluginbase/plugin_utils.h index 75cd7311495f85623eb9011d2e72ee1aa860f5db..790d3bcb1ed3200146b2c42d51bc7438b987ea7b 100644 --- a/plugins/manager/include/pluginbase/plugin_utils.h +++ b/plugins/manager/include/pluginbase/plugin_utils.h @@ -63,28 +63,4 @@ void PluginExternalStop() \ PLUGIN_LOG_D("call PluginExternalStop() in package: %{public}s.", PACKAGE_NAME.c_str()); \ return; \ } - -#define PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() \ -OHOS::MultimediaPlugin::PluginClassBase *PluginExternalCreate(const std::string &className) \ -{ \ - PLUGIN_LOG_D("PluginExternalCreate: create object for package: %{public}s, class: %{public}s.", \ - PACKAGE_NAME.c_str(), className.c_str()); \ - \ - auto iter = implClassMap.find(className); \ - if (iter == implClassMap.end()) { \ - PLUGIN_LOG_E("PluginExternalCreate: failed to find class: %{public}s, in package: %{public}s.", \ - className.c_str(), PACKAGE_NAME.c_str()); \ - return nullptr; \ - } \ - \ - auto creator = iter->second; \ - if (creator == nullptr) { \ - PLUGIN_LOG_E("PluginExternalCreate: null creator for class: %{public}s, in package: %{public}s.", \ - className.c_str(), PACKAGE_NAME.c_str()); \ - return nullptr; \ - } \ - \ - return creator(); \ -} - #endif // PLUGIN_UTILS_H diff --git a/plugins/manager/test/unittest/common/plugin_example/plugin_example2/plugin_export.cpp b/plugins/manager/test/unittest/common/plugin_example/plugin_example2/plugin_export.cpp index 2e61101123d563f3bb2ea5befe4849a9674d2419..761ae7c4d2ef68fc211abd501abd3cb22beff792 100644 --- a/plugins/manager/test/unittest/common/plugin_example/plugin_example2/plugin_export.cpp +++ b/plugins/manager/test/unittest/common/plugin_example/plugin_example2/plugin_export.cpp @@ -40,5 +40,5 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "plugi // define the external interface of this plugin PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() diff --git a/plugins/manager/test/unittest/common/plugin_example/plugin_example3/plugin_export.cpp b/plugins/manager/test/unittest/common/plugin_example/plugin_example3/plugin_export.cpp index db149a35bafe6e7f26ee5d24a77b7e2ad0f9aa75..0205a53f35a04c67e0e6abb71db0867f90493e40 100644 --- a/plugins/manager/test/unittest/common/plugin_example/plugin_example3/plugin_export.cpp +++ b/plugins/manager/test/unittest/common/plugin_example/plugin_example3/plugin_export.cpp @@ -40,5 +40,5 @@ static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_TAG_DOMAIN_ID_PLUGIN, "plugi // define the external interface of this plugin PLUGIN_EXPORT_DEFAULT_EXTERNAL_START() PLUGIN_EXPORT_DEFAULT_EXTERNAL_STOP() -PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE() +// PLUGIN_EXPORT_DEFAULT_EXTERNAL_CREATE()