Skip to content

Commit b15d80c

Browse files
committed
add non-tracking PyTraceMalloc_Track
1 parent 4784dbe commit b15d80c

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ void PyMem_RawFree(void *ptr) {
5454
free(ptr);
5555
}
5656

57+
int PyTraceMalloc_Track(_PyTraceMalloc_domain_t domain, uintptr_t ptr, size_t size) {
58+
return -2; // we do not track
59+
}

0 commit comments

Comments
 (0)