Skip to content

Commit 07eb726

Browse files
hotfix: misaligned pointer cast (#640)
* hotfix: misaligned pointer cast * Correct field type * Revert version * Revert version * fix type --------- Co-authored-by: Christopher Rowley <[email protected]>
1 parent 815c0de commit 07eb726

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/C/consts.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ end
315315
finalize::Ptr{Cvoid} = C_NULL
316316
vectorcall::Ptr{Cvoid} = C_NULL
317317

318+
# Python 3.12+ fields
319+
tp_watched::Cchar = 0
320+
321+
# Python 3.13+ fields
322+
tp_versions_used::Cushort = 0
318323
end
319324

320325
const PyTypePtr = Ptr{PyTypeObject}

0 commit comments

Comments
 (0)