mirror of
https://gitee.com/openharmony/filemanagement_user_file_service
synced 2024-11-23 07:20:41 +00:00
update interfaces/kits/picker/include/picker_napi_utils.h.
Signed-off-by: BrainL <libuyan1@huawei.com>
This commit is contained in:
parent
27accb949d
commit
015884e072
@ -44,9 +44,10 @@ constexpr uint32_t NAPI_INIT_REF_COUNT = 1;
|
|||||||
constexpr size_t NAPI_ARGC_MAX = 5;
|
constexpr size_t NAPI_ARGC_MAX = 5;
|
||||||
|
|
||||||
// Error codes
|
// Error codes
|
||||||
const int32_t ERR_DEFAULT = 0;
|
const int32_t ERR_OK = 0;
|
||||||
const int32_t ERR_MEM_ALLOCATION = 2;
|
const int32_t ERR_MEM_ALLOCATION = 2;
|
||||||
const int32_t ERR_INVALID_OUTPUT = 3;
|
const int32_t ERR_INVALID_OUTPUT = 3;
|
||||||
|
const int32_t ERR_INV = -1;
|
||||||
|
|
||||||
struct JSAsyncContextOutput {
|
struct JSAsyncContextOutput {
|
||||||
napi_value error;
|
napi_value error;
|
||||||
|
Loading…
Reference in New Issue
Block a user