From b513d1aa7a06fc0cae6d1483831536ce0524d36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 1 Oct 2019 10:10:22 -0300 Subject: [PATCH] doc: fix return type of ArrayBuffer::Data PR-URL: https://github.com/nodejs/node-addon-api/pull/552 Reviewed-By: NickNaso Reviewed-By: Michael Dawson Reviewed-By: Gabriel Schulhof --- doc/array_buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/array_buffer.md b/doc/array_buffer.md index e7217d73a..ca9d45c00 100644 --- a/doc/array_buffer.md +++ b/doc/array_buffer.md @@ -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.