From bd2c5ec502edecab89c7ecf47fa8dc47a617a8f2 Mon Sep 17 00:00:00 2001 From: Nicola Del Gobbo Date: Wed, 24 Jun 2020 23:16:48 +0200 Subject: [PATCH] Fixes issue 745. (#748) --- doc/bigint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bigint.md b/doc/bigint.md index 92607e7fd..33ada43b3 100644 --- a/doc/bigint.md +++ b/doc/bigint.md @@ -79,7 +79,7 @@ Returns the number of words needed to store this `BigInt` value. ### ToWords ```cpp -void Napi::BigInt::ToWords(size_t* word_count, int* sign_bit, uint64_t* words); +void Napi::BigInt::ToWords(int* sign_bit, size_t* word_count, uint64_t* words); ``` - `[out] sign_bit`: Integer representing if the JavaScript `BigInt` is positive