Skip to content

Commit

Permalink
doc: fix style of n-api.md
Browse files Browse the repository at this point in the history
PR-URL: #44377
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
theanarkh authored and RafaelGSS committed Sep 5, 2022
1 parent 3eb7918 commit ed52bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Expand Up @@ -1189,7 +1189,7 @@ added:

> Stability: 1 - Experimental

````c
```c
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
const char* code,
const char* msg);
Expand All @@ -1214,7 +1214,7 @@ napiVersion: 1
NAPI_EXTERN napi_status napi_is_error(napi_env env,
napi_value value,
bool* result);
````
```

* `[in] env`: The environment that the API is invoked under.
* `[in] value`: The `napi_value` to be checked.
Expand Down

0 comments on commit ed52bd0

Please sign in to comment.