Skip to content

Commit cf179a2

Browse files
committed
add _PyTraceMalloc_Untrack
1 parent c7be640 commit cf179a2

File tree

1 file changed

+4
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+4
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/obmalloc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ int _PyTraceMalloc_Track(_PyTraceMalloc_domain_t domain, uintptr_t ptr, size_t s
7676
return -2; // we do not track
7777
}
7878

79+
int _PyTraceMalloc_Untrack(_PyTraceMalloc_domain_t domain, uintptr_t ptr) {
80+
return -2; // we do not track
81+
}
82+
7983
void * PyMem_Realloc(void *ptr, size_t new_size) {
8084
return PyMem_RawRealloc(ptr, new_size);
8185
}

0 commit comments

Comments
 (0)