forked from nodejs/node-addon-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leave platform-specific type in operator def.n
The property get/set sugar for numerical indices has to stay platform- agnostic. That is, we cannot use `uint32_t`, but must instead use `int` in the operator definition, because `int` resolves exactly on both 32-bit and 64-bit platforms. Fixes: nodejs#337
- Loading branch information
Gabriel Schulhof
committed
Sep 12, 2018
1 parent
622ffae
commit ba4ad76
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters