0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/addons-napi
Michael Dawson 8aca66a1f3
test: fix warning in n-api reference test
Add cast to avoid warning during build of addon.

PR-URL: https://github.com/nodejs/node/pull/12730
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-05-03 15:38:18 +02:00
..
1_hello_world n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
2_function_arguments n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
3_callbacks n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
4_object_factory n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
5_function_factory n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
6_object_wrap n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
7_factory_wrap n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
8_passing_wrapped n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_array n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_async test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
test_buffer n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_constructor test: replace indexOf with includes 2017-04-30 04:08:46 +03:00
test_conversions n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_error n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_exception test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
test_function n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_handle_scope n-api: Enable scope and ref APIs during exception 2017-04-25 22:02:56 +02:00
test_instanceof test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
test_napi_status n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_number test: test doc'd napi_get_value_int32 behaviour 2017-04-26 16:00:16 -04:00
test_object n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_properties test: replace indexOf with includes 2017-04-30 04:08:46 +03:00
test_reference test: fix warning in n-api reference test 2017-05-03 15:38:18 +02:00
test_string n-api: remove napi_get_value_string_length() 2017-04-20 13:27:17 -04:00
test_symbol n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_typedarray n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
.gitignore n-api: add support for abi stable module API 2017-04-03 10:31:25 +02:00
common.h n-api: Reference and external tests 2017-04-27 16:33:19 -04:00
testcfg.py n-api: add support for abi stable module API 2017-04-03 10:31:25 +02:00