Skip to content

Commit

Permalink
doc: correct return type of Int32Value to int32_t
Browse files Browse the repository at this point in the history
It currently reads uint32_t, which would be very strange, and
is also untrue (I checked napi.h) ;)

PR-URL: #459
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: NickNaso <[email protected]>
  • Loading branch information
gallafent authored and mhdawson committed Mar 20, 2019
1 parent b0f6b60 commit 1ed7ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Creates a new instance of a `Napi::Number` object.

### Int32Value

Converts a `Napi::Number` value to a `uint32_t` primitive type.
Converts a `Napi::Number` value to a `int32_t` primitive type.

```cpp
Napi::Number::Int32Value() const;
Expand Down

0 comments on commit 1ed7ad8

Please sign in to comment.