Skip to content

Commit

Permalink
Add js_get_heap_statistics()
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
kasperisager committed Feb 6, 2025
1 parent 8dda4fc commit 278b8ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/js.c
Original file line number Diff line number Diff line change
Expand Up @@ -5347,6 +5347,13 @@ js_create_inspector(js_env_t *env, js_inspector_t **result) {
return js__error(env);
}

int
js_get_heap_statistics(js_env_t *env, js_heap_statistics_t *result) {
js_throw_error(env, NULL, "Unsupported operation");

return js__error(env);
}

int
js_destroy_inspector(js_env_t *env, js_inspector_t *inspector) {
js_throw_error(env, NULL, "Unsupported operation");
Expand Down

0 comments on commit 278b8ad

Please sign in to comment.