Skip to content

Commit

Permalink
Expose GetWrappersCount
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Jul 12, 2024
1 parent 20c9ee7 commit 494c602
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/instance_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ class InstanceData {
return true;
}

size_t GetWrappersCount() const {
return wrappers_.size();
}

private:
explicit InstanceData(napi_env env)
: env_(env),
Expand Down

0 comments on commit 494c602

Please sign in to comment.