You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/C/consts.jl
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,20 @@ end
124
124
type::Ptr{Cvoid}=C_NULL# really is Ptr{PyObject} or Ptr{PyTypeObject} but Julia 1.3 and below get the layout incorrect when circular types are involved
125
125
end
126
126
127
+
@kwdefstruct PyMutex
128
+
bits::Cuchar=0
129
+
end
130
+
131
+
@kwdefstruct PyObjectFT
132
+
tid::Csize_t=0
133
+
flags::Cushort=0
134
+
mutex::PyMutex=PyMutex()
135
+
gc_bits::Cuchar=0
136
+
ref_local::Cuint=0
137
+
ref_shared::Py_ssize_t=0
138
+
type::Ptr{Cvoid}=C_NULL# really is Ptr{PyObject} or Ptr{PyTypeObject} but Julia 1.3 and below get the layout incorrect when circular types are involved
0 commit comments