diff --git a/src/instance_data.h b/src/instance_data.h index cad16aa..25bf280 100644 --- a/src/instance_data.h +++ b/src/instance_data.h @@ -107,6 +107,10 @@ class InstanceData { return true; } + size_t GetWrappersCount() const { + return wrappers_.size(); + } + private: explicit InstanceData(napi_env env) : env_(env),