Skip to content

Commit

Permalink
doc: fix return type of ArrayBuffer::Data
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#552
Reviewed-By: NickNaso <nicoladelgobbo@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
  • Loading branch information
Marlyfleitas committed Oct 23, 2019
1 parent b69623d commit e77554a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/array_buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Returns the length of the wrapped data, in bytes.
### Data

```cpp
T* Napi::ArrayBuffer::Data() const;
void* Napi::ArrayBuffer::Data() const;
```

Returns a pointer the wrapped data.

0 comments on commit e77554a

Please sign in to comment.