From 223474900f8af7e9f7216d8af25ca27f84297c5f Mon Sep 17 00:00:00 2001 From: Dongjin Na 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 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.