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: #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
tniessen authored and mhdawson committed Oct 23, 2019
1 parent 34c11cf commit b513d1a
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 b513d1a

Please sign in to comment.