Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Sep 23, 2024
1 parent cdfe3d6 commit 5289c38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/iron_gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void gc_unroot(void *ptr) {
}

void *gc_cut(void *ptr, size_t pos, size_t size) {
return NULL;
}

void *gc_realloc(void *ptr, size_t size) {
Expand Down Expand Up @@ -94,7 +95,7 @@ void gc_unroot(void *ptr) {
}

void *gc_cut(void *ptr, size_t pos, size_t size) {
_gc_cut(ptr, pos, size);
return _gc_cut(ptr, pos, size);
}

void *gc_realloc(void *ptr, size_t size) {
Expand Down

0 comments on commit 5289c38

Please sign in to comment.