Skip to content

Commit 95d61ed

Browse files
committed
docs: fix macro name
1 parent 6d9052e commit 95d61ed

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/napi/export

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/napi/export/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static napi_value method( napi_env env, napi_callback_info info ) {
149149
// ...
150150
151151
// Register a Node-API module:
152-
STDLIB_NAPI_MODULE_EXPORT_FCN( addon, "foo", method )
152+
STDLIB_NAPI_MODULE_EXPORT_FCN_WITH_METHOD( addon, "foo", method )
153153
```
154154

155155
The macro expects the following arguments:

0 commit comments

Comments
 (0)