Modified the definition of delete in nativepoint

Description
    There is conceptual confusion in the definition of delete in nativepoint. Modify it to avoid ambiguity

    modify 'delete(buffer, data)' to delete(nativePointer, data).

Related issues
    #I4SK2G: Modify the name of nativepointer

Signed-off-by: linxiang <linxiang8@huawei.com>
This commit is contained in:
linxiang 2022-01-30 11:04:13 +08:00
parent 24843e647d
commit dd0d5abb1a

View File

@ -48,7 +48,7 @@ class EcmaVM;
class JSRuntimeOptions;
} // namespace ecmascript
using Deleter = void (*)(void *buffer, void *data);
using Deleter = void (*)(void *nativePointer, void *data);
using EcmaVM = ecmascript::EcmaVM;
using JSTaggedType = uint64_t;