Commit e9a6dffc authored by rebornix's avatar rebornix Committed by Myles Borins
Browse files

doc: fix outdated code sample in n-api.md

code samples of napi_create_object and napi_property_descriptor were
not updated to latest API.

Backport-PR-URL: https://github.com/nodejs/node/pull/19447
PR-URL: https://github.com/nodejs/node/pull/15581


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 2bc8a599
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment