Skip to content

Commit 2234749

Browse files
nadonggurimhdawson
authored andcommitted
doc: update Version management
PR-URL: #360 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Nicola Del Gobbo <[email protected]>
1 parent 917bd60 commit 2234749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/version_management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ important to make decisions based on different versions of the system.
1111
Retrieves the highest N-API version supported by Node.js runtime.
1212

1313
```cpp
14-
static uint32_t GetNapiVersion(Env env);
14+
static uint32_t Napi::VersionManagement::GetNapiVersion(Env env);
1515
```
1616
1717
- `[in] env`: The environment in which the API is invoked under.
@@ -34,7 +34,7 @@ typedef struct {
3434
````
3535
3636
```cpp
37-
static const napi_node_version* GetNodeVersion(Env env);
37+
static const napi_node_version* Napi::VersionManagement::GetNodeVersion(Env env);
3838
```
3939

4040
- `[in] env`: The environment in which the API is invoked under.

0 commit comments

Comments
 (0)