pub unsafe extern "C" fn OH_PixelMap_InitNativePixelMap(
env: napi_env,
source: napi_value,
) -> *mut NativePixelMapExpand description
@brief Initializes a PixelMap object.
@param env Indicates the NAPI environment pointer. @param source Indicates the options for setting the PixelMap object. @return Returns a pointer to the NativePixelMap object if the operation is successful; returns nullptr otherwise. @see InitNativePixelMap @since 10 @version 1.0