Skip to content

Commit bd2c5ec

Browse files
authored
Fixes issue 745. (#748)
1 parent 4c01af2 commit bd2c5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/bigint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Returns the number of words needed to store this `BigInt` value.
7979
### ToWords
8080

8181
```cpp
82-
void Napi::BigInt::ToWords(size_t* word_count, int* sign_bit, uint64_t* words);
82+
void Napi::BigInt::ToWords(int* sign_bit, size_t* word_count, uint64_t* words);
8383
```
8484
8585
- `[out] sign_bit`: Integer representing if the JavaScript `BigInt` is positive

0 commit comments

Comments
 (0)