node/test/addons-napi/test_make_callback
Gabriel Schulhof fd8523fe44
n-api: re-write test_make_callback
This re-writes the test in C by dropping std::vector<napi_value> in
favour of a C99 variable length array, and by dropping the anonymous
namespace in favour of static function declarations.

PR-URL: https://github.com/nodejs/node/pull/19448
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2018-03-24 11:42:46 +01:00
..
binding.c n-api: re-write test_make_callback 2018-03-24 11:42:46 +01:00
binding.gyp n-api: re-write test_make_callback 2018-03-24 11:42:46 +01:00
test-async-hooks.js n-api: separate out async_hooks test 2018-03-20 11:49:41 +00:00
test.js n-api: separate out async_hooks test 2018-03-20 11:49:41 +00:00