新增PixelMap Native JS 互转接口,注释修改

Signed-off-by: duanhan <duanhan1@huawei.com>
This commit is contained in:
duanhan 2024-07-31 18:18:31 +08:00
parent af9fbf1f57
commit be671809da

View File

@ -408,7 +408,7 @@ Image_ErrorCode OH_PixelmapNative_CreatePixelmap(uint8_t *data, size_t dataLengt
* @param pixelmapNapi the <b>PixelMap</b> pointer will be converted.
* @return Image functions result code.
* {@link IMAGE_SUCCESS} if the execution is successful.
* {@link IMAGE_BAD_PARAMETER} pixelmapNapi is nullptr
* {@link IMAGE_BAD_PARAMETER} pixelmapNative is nullptr
* @since 12
*/
Image_ErrorCode OH_PixelmapNative_ConvertPixelmapNativeToNapi(napi_env env, OH_PixelmapNative *pixelmapNative,