File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ typedef struct {
179179 ffi_type * ffi_restype ;
180180 ffi_type * atypes [1 ];
181181} CThunkObject ;
182+
182183#define _CThunkObject_CAST (op ) ((CThunkObject *)(op))
183184#define CThunk_CheckExact (st , v ) Py_IS_TYPE(v, st->PyCThunk_Type)
184185
@@ -212,6 +213,7 @@ typedef struct {
212213#endif
213214 PyObject * paramflags ;
214215} PyCFuncPtrObject ;
216+
215217#define _PyCFuncPtrObject_CAST (op ) ((PyCFuncPtrObject *)(op))
216218
217219extern int PyCStructUnionType_update_stginfo (PyObject * fields , PyObject * type , int isStruct );
@@ -273,6 +275,7 @@ typedef struct CFieldObject {
273275
274276 PyObject * name ; /* exact PyUnicode */
275277} CFieldObject ;
278+
276279#define _CFieldObject_CAST (op ) ((CFieldObject *)(op))
277280
278281/****************************************************************
@@ -410,6 +413,7 @@ struct tagPyCArgObject {
410413 PyObject * obj ;
411414 Py_ssize_t size ; /* for the 'V' tag */
412415};
416+
413417#define _PyCArgObject_CAST (op ) ((PyCArgObject *)(op))
414418
415419#define PyCArg_CheckExact (st , v ) Py_IS_TYPE(v, st->PyCArg_Type)
You can’t perform that action at this time.
0 commit comments