From 9ff1f1ad0583dabba232bf382f71ac22e3f80392 Mon Sep 17 00:00:00 2001 From: austinli64 Date: Tue, 2 Oct 2018 09:14:32 +0900 Subject: [PATCH] doc: update Version management PR-URL: https://github.com/nodejs/node-addon-api/pull/360 Reviewed-By: Michael Dawson Reviewed-By: Nicola Del Gobbo --- doc/version_management.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/version_management.md b/doc/version_management.md index e416636..6d6c7fa 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.