diff --git a/doc/version_management.md b/doc/version_management.md index e41663661..6d6c7fa8e 100644 --- a/doc/version_management.md +++ b/doc/version_management.md @@ -11,7 +11,7 @@ important to make decisions based on different versions of the system. Retrieves the highest N-API version supported by Node.js runtime. ```cpp -static uint32_t GetNapiVersion(Env env); +static uint32_t Napi::VersionManagement::GetNapiVersion(Env env); ``` - `[in] env`: The environment in which the API is invoked under. @@ -34,7 +34,7 @@ typedef struct { ```` ```cpp -static const napi_node_version* GetNodeVersion(Env env); +static const napi_node_version* Napi::VersionManagement::GetNodeVersion(Env env); ``` - `[in] env`: The environment in which the API is invoked under.