Skip to content

Commit

Permalink
missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Dec 21, 2024
1 parent a3e211e commit 4fb8c75
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 @@ -34,6 +34,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 4fb8c75

Please sign in to comment.