From 50e0d94889069e6c9040fc7c5ca8ea6b16f7f9b5 Mon Sep 17 00:00:00 2001 From: NickNaso Date: Mon, 22 Jun 2020 16:49:23 +0200 Subject: [PATCH] Fixes issue 745. --- 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