parent
bcc0b6b616
commit
1d4ef62466
2 changed files with 22 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
||||||
Version 4.1.0 (in progress)
|
Version 4.1.0 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2021-02-26: murillo128, wsfulton
|
||||||
|
#1269 [Javascript] Fix handling of large positive unsigned long and
|
||||||
|
unsigned long long values.
|
||||||
|
|
||||||
2021-02-24: tomleavy, yegorich, tungntpham
|
2021-02-24: tomleavy, yegorich, tungntpham
|
||||||
#1746 [Javascript] Add support for Node v12.
|
#1746 [Javascript] Add support for Node v12.
|
||||||
SWIG support is now for Node v6 and later only.
|
SWIG support is now for Node v6 and later only.
|
||||||
|
|
|
||||||
18
Examples/test-suite/javascript/integers_runme.js
Normal file
18
Examples/test-suite/javascript/integers_runme.js
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
var integers = require("integers");
|
||||||
|
|
||||||
|
var val = 3902408827
|
||||||
|
ret = integers.signed_long_identity(val)
|
||||||
|
if (ret != val)
|
||||||
|
throw "Incorrect value: " + ret
|
||||||
|
|
||||||
|
ret = integers.unsigned_long_identity(val)
|
||||||
|
if (ret != val)
|
||||||
|
throw "Incorrect value: " + ret
|
||||||
|
|
||||||
|
ret = integers.signed_long_long_identity(val)
|
||||||
|
if (ret != val)
|
||||||
|
throw "Incorrect value: " + ret
|
||||||
|
|
||||||
|
ret = integers.unsigned_long_long_identity(val)
|
||||||
|
if (ret != val)
|
||||||
|
throw "Incorrect value: " + ret
|
||||||
Loading…
Add table
Add a link
Reference in a new issue