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
austinli64 committed Oct 23, 2019
1 parent 6b01516 commit 29b9084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/array_buffer.md
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 29b9084

Please sign in to comment.