diff --git a/napi.h b/napi.h index b2dce0e..3ad0954 100644 --- a/napi.h +++ b/napi.h @@ -1407,8 +1407,8 @@ namespace Napi { /// public: /// static void Initialize(Napi::Env& env, Napi::Object& target) { /// Napi::Function constructor = DefineClass(env, "Example", { - /// InstanceAccessor("value", &GetSomething, &SetSomething), - /// InstanceMethod("doSomething", &DoSomething), + /// InstanceAccessor("value", &Example::GetSomething, &Example::SetSomething), + /// InstanceMethod("doSomething", &Example::DoSomething), /// }); /// target.Set("Example", constructor); /// }