This commit updates the macros in test/addons-napi/common.h to use NULL instead of 0. This is very minor, but I had to look twice while going through the code and finding what the macro was doing and comparing with the struct definition. Using NULL makes it a little clearer I think. PR-URL: https://github.com/nodejs/node/pull/24104 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| 1_hello_world | ||
| 2_function_arguments | ||
| 3_callbacks | ||
| 4_object_factory | ||
| 5_function_factory | ||
| 6_object_wrap | ||
| 7_factory_wrap | ||
| 8_passing_wrapped | ||
| test_array | ||
| test_async | ||
| test_bigint | ||
| test_buffer | ||
| test_callback_scope | ||
| test_cleanup_hook | ||
| test_constructor | ||
| test_conversions | ||
| test_dataview | ||
| test_env_sharing | ||
| test_error | ||
| test_exception | ||
| test_fatal | ||
| test_fatal_exception | ||
| test_function | ||
| test_general | ||
| test_handle_scope | ||
| test_make_callback | ||
| test_make_callback_recurse | ||
| test_new_target | ||
| test_null_init | ||
| test_number | ||
| test_object | ||
| test_promise | ||
| test_properties | ||
| test_reference | ||
| test_string | ||
| test_symbol | ||
| test_threadsafe_function | ||
| test_typedarray | ||
| test_uv_loop | ||
| .gitignore | ||
| common.h | ||
| testcfg.py | ||