Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 14, 2024
1 parent 3155f2c commit aa76dad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@ path_map(PyPathObject *self, PyObject *args) {
Py_XDECREF(item);
return NULL;
}
if (xy != self->xy) {
printf("Kept the original array\n");
} else {
printf("Try to access the reallocated array\n");
}
xy[i + i] = x;
xy[i + i + 1] = y;
Py_DECREF(item);
Expand Down

0 comments on commit aa76dad

Please sign in to comment.