Skip to content

Commit

Permalink
I didn't compile it before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Jan 26, 2020
1 parent 023888b commit 13495eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napi-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1416,14 +1416,14 @@ inline size_t ArrayBuffer::ByteLength() {
}

#ifdef NAPI_EXPERIMENTAL
inline bool IsDetached() {
inline bool ArrayBuffer::IsDetached() {
bool detached;
napi_status status = napi_is_detached_arraybuffer(_env, _value, &result);
NAPI_THROW_IF_FAILED(_env, status, false);
return detached;
}

inline void Detach() {
inline void ArrayBuffer::Detach() {
napi_status status = napi_detach_arraybuffer(_env, _value);
NAPI_THROW_IF_FAILED_VOID(_env, status);
}
Expand Down

0 comments on commit 13495eb

Please sign in to comment.