10000 gh-103092: Port some `_ctypes` data types to heap types by neonene · Pull Request #113630 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103092: Port some _ctypes data types to heap types #113630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

10000 Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
non-fix edit
  • Loading branch information
neonene authored Jan 2, 2024
commit ae9e2f589739d810b45c73ad5bf484d8e7f4f129
5 changes: 2 additions & 3 deletions Modules/_ctypes/_ctypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -4999,14 +4999,13 @@ Simple_traverse(CDataObject *self, visitproc visit, void *arg)
// FIXME: avoid a crash
Py_VISIT(self);
}
return 0;
return PyCData_traverse(self, visit, arg);;
}

static int
Simple_clear(CDataObject *self)
{
PyCData_clear(self);
return 0;
return PyCData_clear(self);
}

static void
Expand Down
0