Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Oct 14, 2024
1 parent 0cdb657 commit 5e5cdfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions patches/pg_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ pg_realloc(void *ptr, size_t size) {
return realloc(ptr, size);
}

EMSCRIPTEN_KEEPALIVE void pg_free(void *ptr) {
free(ptr);
}

EMSCRIPTEN_KEEPALIVE char *
pg_strdup(const char *in) {
char *tmp;
Expand Down

0 comments on commit 5e5cdfa

Please sign in to comment.