Skip to content

Commit 02b9ba1

Browse files
committed
hotfix: misaligned pointer cast
1 parent c84c059 commit 02b9ba1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PythonCall"
22
uuid = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
33
authors = ["Christopher Doris <github.com/cjdoris>"]
4-
version = "0.9.25"
4+
version = "0.9.26"
55

66
[deps]
77
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "juliacall"
7-
version = "0.9.25"
7+
version = "0.9.26"
88
description = "Julia and Python in seamless harmony"
99
readme = { file = "README.md", content-type = "text/markdown" }
1010
classifiers = [

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::Cuint = 0
318323
end
319324

320325
const PyTypePtr = Ptr{PyTypeObject}

0 commit comments

Comments
 (0)