PLplot 5.15.0
Loading...
Searching...
No Matches
sip.h File Reference
#include <Python.h>

Go to the source code of this file.

Classes

struct  _sipWrapperType
 
struct  _sipSimpleWrapper
 
struct  _sipWrapper
 
struct  _sipEnumTypeObject
 
struct  _sipEncodedTypeDef
 
struct  _sipEnumMemberDef
 
struct  _sipInstancesDef
 
struct  _sipInitExtenderDef
 
struct  _sipSubClassConvertorDef
 
struct  _sipBufferDef
 
struct  _sipBufferInfoDef
 
struct  _sipCFunctionDef
 
struct  _sipMethodDef
 
struct  _sipDateDef
 
struct  _sipTimeDef
 
struct  _sipPySlotDef
 
struct  _sipPySlotExtenderDef
 
struct  _sipTypedefDef
 
struct  _sipVariableDef
 
struct  _sipTypeDef
 
struct  _sipContainerDef
 
struct  _sipClassTypeDef
 
struct  _sipMappedTypeDef
 
struct  _sipEnumTypeDef
 
struct  _sipExternalTypeDef
 
struct  _sipDelayedDtor
 
struct  _sipVersionedFunctionDef
 
struct  _sipVirtErrorHandlerDef
 
union  _sipImportedTypeDef
 
union  _sipImportedVirtErrorHandlerDef
 
union  _sipImportedExceptionDef
 
struct  _sipImportedModuleDef
 
struct  _sipExportedModuleDef
 
struct  _sipLicenseDef
 
struct  _sipVoidPtrInstanceDef
 
struct  _sipCharInstanceDef
 
struct  _sipStringInstanceDef
 
struct  _sipIntInstanceDef
 
struct  _sipLongInstanceDef
 
struct  _sipUnsignedLongInstanceDef
 
struct  _sipLongLongInstanceDef
 
struct  _sipUnsignedLongLongInstanceDef
 
struct  _sipDoubleInstanceDef
 
struct  _sipTypeInstanceDef
 
struct  _sipStringTypeClassMap
 
struct  _sipIntTypeClassMap
 
struct  _sipPyMethod
 
struct  _sipSlot
 
struct  _sipAPIDef
 
struct  _sipQtAPI
 
struct  _pyqt4QtSignal
 
struct  _pyqt4ClassPluginDef
 
struct  _pyqt5QtSignal
 
struct  _pyqt5ClassPluginDef
 

Macros

#define SIP_ABI_MAJOR_VERSION   12
 
#define SIP_ABI_MINOR_VERSION   15
 
#define SIP_MODULE_PATCH_VERSION   0
 
#define SIP_VERSION   0x60806
 
#define SIP_VERSION_STR   "6.8.6"
 
#define _SIP_MODULE_FQ_NAME   "PyQt5.sip"
 
#define _SIP_MODULE_NAME   "sip"
 
#define _SIP_MODULE_SHARED   1
 
#define _SIP_MODULE_ENTRY   PyInit_sip
 
#define _SIP_MODULE_LEGACY   1
 
#define SIP_API_MAJOR_NR   SIP_ABI_MAJOR_VERSION
 
#define SIP_API_MINOR_NR   SIP_ABI_MINOR_VERSION
 
#define SIP_MLMETH_CAST(m)
 
#define SIP_NULLPTR   NULL
 
#define SIP_OVERRIDE
 
#define SIP_SSIZE_T   Py_ssize_t
 
#define SIP_SSIZE_T_FORMAT   "%zd"
 
#define SIP_USE_PYCAPSULE
 
#define SIP_MODULE_RETURN(v)
 
#define SIPLong_Check   PyLong_Check
 
#define SIPLong_FromLong   PyLong_FromLong
 
#define SIPLong_AsLong   PyLong_AsLong
 
#define SIPBytes_Check   PyBytes_Check
 
#define SIPBytes_FromString   PyBytes_FromString
 
#define SIPBytes_FromStringAndSize   PyBytes_FromStringAndSize
 
#define SIPBytes_AsString   PyBytes_AsString
 
#define SIPBytes_Size   PyBytes_Size
 
#define SIPBytes_AS_STRING   PyBytes_AS_STRING
 
#define SIPBytes_GET_SIZE   PyBytes_GET_SIZE
 
#define SIP_TRACE_CATCHERS   0x0001
 
#define SIP_TRACE_CTORS   0x0002
 
#define SIP_TRACE_DTORS   0x0004
 
#define SIP_TRACE_INITS   0x0008
 
#define SIP_TRACE_DEALLOCS   0x0010
 
#define SIP_TRACE_METHODS   0x0020
 
#define SIP_RELEASE_GIL(gs)
 
#define SIP_BLOCK_THREADS
 
#define SIP_UNBLOCK_THREADS
 
#define SIP_NOT_NONE   0x01 /* Disallow None. */
 
#define SIP_NO_CONVERTORS   0x02 /* Disable any type convertors. */
 
#define SIP_READ_ONLY   0x01 /* The array is read-only. */
 
#define SIP_OWNS_MEMORY   0x02 /* The array owns its memory. */
 
#define SIP_TEMPORARY   0x01 /* A temporary instance. */
 
#define SIP_DERIVED_CLASS   0x02 /* The instance is derived. */
 
#define SIP_SINGLE_SHOT   0x01 /* The connection is single shot. */
 
#define SIP_INDIRECT   0x0004 /* If there is a level of indirection. */
 
#define SIP_ACCFUNC   0x0008 /* If there is an access function. */
 
#define SIP_NOT_IN_MAP   0x0010 /* If Python object is not in the map. */
 
#define SIP_PY_OWNED   0x0020 /* If owned by Python. */
 
#define SIP_SHARE_MAP   0x0040 /* If the map slot might be occupied. */
 
#define SIP_CPP_HAS_REF   0x0080 /* If C/C++ has a reference. */
 
#define SIP_POSSIBLE_PROXY   0x0100 /* If there might be a proxy slot. */
 
#define SIP_ALIAS   0x0200 /* If it is an alias. */
 
#define SIP_CREATED   0x0400 /* If the C/C++ object has been created. */
 
#define sipIsDerived(sw)
 
#define sipIsIndirect(sw)
 
#define sipIsAccessFunc(sw)
 
#define sipNotInMap(sw)
 
#define sipSetNotInMap(sw)
 
#define sipIsPyOwned(sw)
 
#define sipSetPyOwned(sw)
 
#define sipResetPyOwned(sw)
 
#define sipCppHasRef(sw)
 
#define sipSetCppHasRef(sw)
 
#define sipResetCppHasRef(sw)
 
#define sipPossibleProxy(sw)
 
#define sipSetPossibleProxy(sw)
 
#define sipIsAlias(sw)
 
#define sipWasCreated(sw)
 
#define SIP_TYPE_TYPE_MASK   0x0007 /* The type type mask. */
 
#define SIP_TYPE_CLASS   0x0000 /* If the type is a C++ class. */
 
#define SIP_TYPE_NAMESPACE   0x0001 /* If the type is a C++ namespace. */
 
#define SIP_TYPE_MAPPED   0x0002 /* If the type is a mapped type. */
 
#define SIP_TYPE_ENUM   0x0003 /* If the type is a named enum. */
 
#define SIP_TYPE_SCOPED_ENUM   0x0004 /* If the type is a scoped enum. */
 
#define SIP_TYPE_ABSTRACT   0x0008 /* If the type is abstract. */
 
#define SIP_TYPE_SCC   0x0010 /* If the type is subject to sub-class convertors. */
 
#define SIP_TYPE_ALLOW_NONE   0x0020 /* If the type can handle None. */
 
#define SIP_TYPE_STUB   0x0040 /* If the type is a stub. */
 
#define SIP_TYPE_NONLAZY   0x0080 /* If the type has a non-lazy method. */
 
#define SIP_TYPE_SUPER_INIT   0x0100 /* If the instance's super init should be called. */
 
#define SIP_TYPE_LIMITED_API   0x0200 /* Use the limited API. If this is more generally required it may need to be moved to the module definition. */
 
#define sipTypeIsClass(td)
 
#define sipTypeIsNamespace(td)
 
#define sipTypeIsMapped(td)
 
#define sipTypeIsEnum(td)
 
#define sipTypeIsScopedEnum(td)
 
#define sipTypeAsPyTypeObject(td)
 
#define sipTypeName(td)
 
#define sipTypePluginData(td)
 
#define sipClassName(w)
 
#define sipIsExactWrappedType(wt)
 
#define sipTypeIsAbstract(td)
 
#define sipTypeHasSCC(td)
 
#define sipTypeAllowNone(td)
 
#define sipTypeIsStub(td)
 
#define sipTypeSetStub(td)
 
#define sipTypeHasNonlazyMethod(td)
 
#define sipTypeCallSuperInit(td)
 
#define sipTypeUseLimitedAPI(td)
 
#define sipNameFromPool(em, mr)
 
#define sipNameOfModule(em)
 
#define sipPyNameOfContainer(cod, td)
 
#define sipPyNameOfEnum(etd)
 

Typedefs

typedef void * sipExceptionHandler
 
typedef unsigned int uint
 
typedef int sip_gilstate_t
 
typedef struct _sipBufferDef sipBufferDef
 
typedef struct _sipBufferInfoDef sipBufferInfoDef
 
typedef struct _sipCFunctionDef sipCFunctionDef
 
typedef struct _sipDateDef sipDateDef
 
typedef struct _sipEnumTypeObject sipEnumTypeObject
 
typedef struct _sipMethodDef sipMethodDef
 
typedef struct _sipSimpleWrapper sipSimpleWrapper
 
typedef struct _sipTimeDef sipTimeDef
 
typedef struct _sipTypeDef sipTypeDef
 
typedef struct _sipWrapperType sipWrapperType
 
typedef struct _sipWrapper sipWrapper
 
typedef void(* sipWrappedInstanceEventHandler) (void *sipCpp)
 
typedef void(* sipCollectingWrapperEventHandler) (sipSimpleWrapper *sipSelf)
 
typedef void *(* sipInitFunc) (sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **)
 
typedef int(* sipFinalFunc) (PyObject *, void *, PyObject *, PyObject **)
 
typedef void *(* sipAccessFunc) (sipSimpleWrapper *, AccessFuncOp)
 
typedef int(* sipTraverseFunc) (void *, visitproc, void *)
 
typedef int(* sipClearFunc) (void *)
 
typedef int(* sipGetBufferFuncLimited) (PyObject *, void *, sipBufferDef *)
 
typedef void(* sipReleaseBufferFuncLimited) (PyObject *, void *)
 
typedef int(* sipGetBufferFunc) (PyObject *, void *, Py_buffer *, int)
 
typedef void(* sipReleaseBufferFunc) (PyObject *, void *, Py_buffer *)
 
typedef void(* sipDeallocFunc) (sipSimpleWrapper *)
 
typedef void *(* sipCastFunc) (void *, const sipTypeDef *)
 
typedef const sipTypeDef *(* sipSubClassConvertFunc) (void **)
 
typedef int(* sipConvertToFunc) (PyObject *, void **, int *, PyObject *)
 
typedef PyObject *(* sipConvertFromFunc) (void *, PyObject *)
 
typedef void(* sipVirtErrorHandlerFunc) (sipSimpleWrapper *, sip_gilstate_t)
 
typedef int(* sipVirtHandlerFunc) (sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,...)
 
typedef void(* sipAssignFunc) (void *, Py_ssize_t, void *)
 
typedef void *(* sipArrayFunc) (Py_ssize_t)
 
typedef void(* sipArrayDeleteFunc) (void *)
 
typedef void *(* sipCopyFunc) (const void *, Py_ssize_t)
 
typedef void(* sipReleaseFunc) (void *, int)
 
typedef PyObject *(* sipPickleFunc) (void *)
 
typedef int(* sipAttrGetterFunc) (const sipTypeDef *, PyObject *)
 
typedef PyObject *(* sipVariableGetterFunc) (void *, PyObject *, PyObject *)
 
typedef int(* sipVariableSetterFunc) (void *, PyObject *, PyObject *)
 
typedef void *(* sipProxyResolverFunc) (void *)
 
typedef int(* sipNewUserTypeFunc) (sipWrapperType *)
 
typedef void(* sipWrapperVisitorFunc) (sipSimpleWrapper *, void *)
 
typedef struct _sipEncodedTypeDef sipEncodedTypeDef
 
typedef struct _sipEnumMemberDef sipEnumMemberDef
 
typedef struct _sipInstancesDef sipInstancesDef
 
typedef struct _sipInitExtenderDef sipInitExtenderDef
 
typedef struct _sipSubClassConvertorDef sipSubClassConvertorDef
 
typedef struct _sipPySlotDef sipPySlotDef
 
typedef struct _sipPySlotExtenderDef sipPySlotExtenderDef
 
typedef struct _sipTypedefDef sipTypedefDef
 
typedef struct _sipVariableDef sipVariableDef
 
typedef struct _sipContainerDef sipContainerDef
 
typedef struct _sipClassTypeDef sipClassTypeDef
 
typedef struct _sipMappedTypeDef sipMappedTypeDef
 
typedef struct _sipEnumTypeDef sipEnumTypeDef
 
typedef struct _sipExternalTypeDef sipExternalTypeDef
 
typedef sipTypeDef sipMappedType
 
typedef struct _sipDelayedDtor sipDelayedDtor
 
typedef struct _sipVersionedFunctionDef sipVersionedFunctionDef
 
typedef struct _sipVirtErrorHandlerDef sipVirtErrorHandlerDef
 
typedef union _sipImportedTypeDef sipImportedTypeDef
 
typedef union _sipImportedVirtErrorHandlerDef sipImportedVirtErrorHandlerDef
 
typedef union _sipImportedExceptionDef sipImportedExceptionDef
 
typedef struct _sipImportedModuleDef sipImportedModuleDef
 
typedef struct _sipExportedModuleDef sipExportedModuleDef
 
typedef struct _sipLicenseDef sipLicenseDef
 
typedef struct _sipVoidPtrInstanceDef sipVoidPtrInstanceDef
 
typedef struct _sipCharInstanceDef sipCharInstanceDef
 
typedef struct _sipStringInstanceDef sipStringInstanceDef
 
typedef struct _sipIntInstanceDef sipIntInstanceDef
 
typedef struct _sipLongInstanceDef sipLongInstanceDef
 
typedef struct _sipUnsignedLongInstanceDef sipUnsignedLongInstanceDef
 
typedef struct _sipLongLongInstanceDef sipLongLongInstanceDef
 
typedef struct _sipUnsignedLongLongInstanceDef sipUnsignedLongLongInstanceDef
 
typedef struct _sipDoubleInstanceDef sipDoubleInstanceDef
 
typedef struct _sipTypeInstanceDef sipTypeInstanceDef
 
typedef struct _sipStringTypeClassMap sipStringTypeClassMap
 
typedef struct _sipIntTypeClassMap sipIntTypeClassMap
 
typedef struct _sipPyMethod sipPyMethod
 
typedef struct _sipSlot sipSlot
 
typedef struct _sipAPIDef sipAPIDef
 
typedef struct _sipQtAPI sipQtAPI
 
typedef struct _pyqt4QtSignal pyqt4QtSignal
 
typedef struct _pyqt4ClassPluginDef pyqt4ClassPluginDef
 
typedef int(* pyqt5EmitFunc) (void *, PyObject *)
 
typedef struct _pyqt5QtSignal pyqt5QtSignal
 
typedef struct _pyqt5ClassPluginDef pyqt5ClassPluginDef
 

Enumerations

enum  sipEventType { sipEventWrappedInstance , sipEventCollectingWrapper , sipEventNrEvents }
 
enum  AccessFuncOp { UnguardedPointer , GuardedPointer , ReleaseGuard }
 
enum  sipErrorState { sipErrorNone , sipErrorFail , sipErrorContinue }
 
enum  sipPySlotType {
  str_slot , int_slot , float_slot , len_slot ,
  contains_slot , add_slot , concat_slot , sub_slot ,
  mul_slot , repeat_slot , div_slot , mod_slot ,
  floordiv_slot , truediv_slot , and_slot , or_slot ,
  xor_slot , lshift_slot , rshift_slot , iadd_slot ,
  iconcat_slot , isub_slot , imul_slot , irepeat_slot ,
  idiv_slot , imod_slot , ifloordiv_slot , itruediv_slot ,
  iand_slot , ior_slot , ixor_slot , ilshift_slot ,
  irshift_slot , invert_slot , call_slot , getitem_slot ,
  setitem_slot , delitem_slot , lt_slot , le_slot ,
  eq_slot , ne_slot , gt_slot , ge_slot ,
  bool_slot , neg_slot , repr_slot , hash_slot ,
  pos_slot , abs_slot , index_slot , iter_slot ,
  next_slot , setattr_slot , matmul_slot , imatmul_slot ,
  await_slot , aiter_slot , anext_slot
}
 
enum  sipVariableType { PropertyVariable , InstanceVariable , ClassVariable }
 

Functions

const sipAPIDefsip_init_library (PyObject *mod_dict)
 

Macro Definition Documentation

◆ _SIP_MODULE_ENTRY

#define _SIP_MODULE_ENTRY   PyInit_sip

Definition at line 86 of file build/sip.h.

◆ _SIP_MODULE_FQ_NAME

#define _SIP_MODULE_FQ_NAME   "PyQt5.sip"

Definition at line 83 of file build/sip.h.

◆ _SIP_MODULE_LEGACY

#define _SIP_MODULE_LEGACY   1

Definition at line 87 of file build/sip.h.

◆ _SIP_MODULE_NAME

#define _SIP_MODULE_NAME   "sip"

Definition at line 84 of file build/sip.h.

◆ _SIP_MODULE_SHARED

#define _SIP_MODULE_SHARED   1

Definition at line 85 of file build/sip.h.

◆ SIP_ABI_MAJOR_VERSION

#define SIP_ABI_MAJOR_VERSION   12

Definition at line 37 of file build/sip.h.

◆ SIP_ABI_MINOR_VERSION

#define SIP_ABI_MINOR_VERSION   15

Definition at line 38 of file build/sip.h.

◆ SIP_ACCFUNC

#define SIP_ACCFUNC   0x0008 /* If there is an access function. */

Definition at line 1744 of file build/sip.h.

◆ SIP_ALIAS

#define SIP_ALIAS   0x0200 /* If it is an alias. */

Definition at line 1752 of file build/sip.h.

◆ SIP_API_MAJOR_NR

#define SIP_API_MAJOR_NR   SIP_ABI_MAJOR_VERSION

Definition at line 90 of file build/sip.h.

◆ SIP_API_MINOR_NR

#define SIP_API_MINOR_NR   SIP_ABI_MINOR_VERSION

Definition at line 91 of file build/sip.h.

◆ SIP_BLOCK_THREADS

#define SIP_BLOCK_THREADS

Definition at line 179 of file build/sip.h.

◆ SIP_CPP_HAS_REF

#define SIP_CPP_HAS_REF   0x0080 /* If C/C++ has a reference. */

Definition at line 1750 of file build/sip.h.

◆ SIP_CREATED

#define SIP_CREATED   0x0400 /* If the C/C++ object has been created. */

Definition at line 1753 of file build/sip.h.

◆ SIP_DERIVED_CLASS

#define SIP_DERIVED_CLASS   0x02 /* The instance is derived. */

Definition at line 1729 of file build/sip.h.

◆ SIP_INDIRECT

#define SIP_INDIRECT   0x0004 /* If there is a level of indirection. */

Definition at line 1743 of file build/sip.h.

◆ SIP_MLMETH_CAST

#define SIP_MLMETH_CAST ( m)
Value:
((PyCFunction)(m))

Definition at line 130 of file build/sip.h.

◆ SIP_MODULE_PATCH_VERSION

#define SIP_MODULE_PATCH_VERSION   0

Definition at line 39 of file build/sip.h.

◆ SIP_MODULE_RETURN

#define SIP_MODULE_RETURN ( v)
Value:
return (v)

Definition at line 142 of file build/sip.h.

◆ SIP_NO_CONVERTORS

#define SIP_NO_CONVERTORS   0x02 /* Disable any type convertors. */

Definition at line 1713 of file build/sip.h.

◆ SIP_NOT_IN_MAP

#define SIP_NOT_IN_MAP   0x0010 /* If Python object is not in the map. */

Definition at line 1745 of file build/sip.h.

◆ SIP_NOT_NONE

#define SIP_NOT_NONE   0x01 /* Disallow None. */

Definition at line 1712 of file build/sip.h.

◆ SIP_NULLPTR

#define SIP_NULLPTR   NULL

Definition at line 133 of file build/sip.h.

◆ SIP_OVERRIDE

#define SIP_OVERRIDE

Definition at line 134 of file build/sip.h.

◆ SIP_OWNS_MEMORY

#define SIP_OWNS_MEMORY   0x02 /* The array owns its memory. */

Definition at line 1721 of file build/sip.h.

◆ SIP_POSSIBLE_PROXY

#define SIP_POSSIBLE_PROXY   0x0100 /* If there might be a proxy slot. */

Definition at line 1751 of file build/sip.h.

◆ SIP_PY_OWNED

#define SIP_PY_OWNED   0x0020 /* If owned by Python. */

Definition at line 1748 of file build/sip.h.

◆ SIP_READ_ONLY

#define SIP_READ_ONLY   0x01 /* The array is read-only. */

Definition at line 1720 of file build/sip.h.

◆ SIP_RELEASE_GIL

#define SIP_RELEASE_GIL ( gs)

Definition at line 178 of file build/sip.h.

◆ SIP_SHARE_MAP

#define SIP_SHARE_MAP   0x0040 /* If the map slot might be occupied. */

Definition at line 1749 of file build/sip.h.

◆ SIP_SINGLE_SHOT

#define SIP_SINGLE_SHOT   0x01 /* The connection is single shot. */

Definition at line 1735 of file build/sip.h.

◆ SIP_SSIZE_T

#define SIP_SSIZE_T   Py_ssize_t

Definition at line 139 of file build/sip.h.

◆ SIP_SSIZE_T_FORMAT

#define SIP_SSIZE_T_FORMAT   "%zd"

Definition at line 140 of file build/sip.h.

◆ SIP_TEMPORARY

#define SIP_TEMPORARY   0x01 /* A temporary instance. */

Definition at line 1728 of file build/sip.h.

◆ SIP_TRACE_CATCHERS

#define SIP_TRACE_CATCHERS   0x0001

Definition at line 160 of file build/sip.h.

◆ SIP_TRACE_CTORS

#define SIP_TRACE_CTORS   0x0002

Definition at line 161 of file build/sip.h.

◆ SIP_TRACE_DEALLOCS

#define SIP_TRACE_DEALLOCS   0x0010

Definition at line 164 of file build/sip.h.

◆ SIP_TRACE_DTORS

#define SIP_TRACE_DTORS   0x0004

Definition at line 162 of file build/sip.h.

◆ SIP_TRACE_INITS

#define SIP_TRACE_INITS   0x0008

Definition at line 163 of file build/sip.h.

◆ SIP_TRACE_METHODS

#define SIP_TRACE_METHODS   0x0020

Definition at line 165 of file build/sip.h.

◆ SIP_TYPE_ABSTRACT

#define SIP_TYPE_ABSTRACT   0x0008 /* If the type is abstract. */

Definition at line 1778 of file build/sip.h.

◆ SIP_TYPE_ALLOW_NONE

#define SIP_TYPE_ALLOW_NONE   0x0020 /* If the type can handle None. */

Definition at line 1780 of file build/sip.h.

◆ SIP_TYPE_CLASS

#define SIP_TYPE_CLASS   0x0000 /* If the type is a C++ class. */

Definition at line 1773 of file build/sip.h.

◆ SIP_TYPE_ENUM

#define SIP_TYPE_ENUM   0x0003 /* If the type is a named enum. */

Definition at line 1776 of file build/sip.h.

◆ SIP_TYPE_LIMITED_API

#define SIP_TYPE_LIMITED_API   0x0200 /* Use the limited API. If this is more generally required it may need to be moved to the module definition. */

Definition at line 1784 of file build/sip.h.

◆ SIP_TYPE_MAPPED

#define SIP_TYPE_MAPPED   0x0002 /* If the type is a mapped type. */

Definition at line 1775 of file build/sip.h.

◆ SIP_TYPE_NAMESPACE

#define SIP_TYPE_NAMESPACE   0x0001 /* If the type is a C++ namespace. */

Definition at line 1774 of file build/sip.h.

◆ SIP_TYPE_NONLAZY

#define SIP_TYPE_NONLAZY   0x0080 /* If the type has a non-lazy method. */

Definition at line 1782 of file build/sip.h.

◆ SIP_TYPE_SCC

#define SIP_TYPE_SCC   0x0010 /* If the type is subject to sub-class convertors. */

Definition at line 1779 of file build/sip.h.

◆ SIP_TYPE_SCOPED_ENUM

#define SIP_TYPE_SCOPED_ENUM   0x0004 /* If the type is a scoped enum. */

Definition at line 1777 of file build/sip.h.

◆ SIP_TYPE_STUB

#define SIP_TYPE_STUB   0x0040 /* If the type is a stub. */

Definition at line 1781 of file build/sip.h.

◆ SIP_TYPE_SUPER_INIT

#define SIP_TYPE_SUPER_INIT   0x0100 /* If the instance's super init should be called. */

Definition at line 1783 of file build/sip.h.

◆ SIP_TYPE_TYPE_MASK

#define SIP_TYPE_TYPE_MASK   0x0007 /* The type type mask. */

Definition at line 1772 of file build/sip.h.

◆ SIP_UNBLOCK_THREADS

#define SIP_UNBLOCK_THREADS

Definition at line 180 of file build/sip.h.

◆ SIP_USE_PYCAPSULE

#define SIP_USE_PYCAPSULE

Definition at line 141 of file build/sip.h.

◆ SIP_VERSION

#define SIP_VERSION   0x60806

Definition at line 79 of file build/sip.h.

◆ SIP_VERSION_STR

#define SIP_VERSION_STR   "6.8.6"

Definition at line 80 of file build/sip.h.

◆ SIPBytes_AS_STRING

#define SIPBytes_AS_STRING   PyBytes_AS_STRING

Definition at line 153 of file build/sip.h.

◆ SIPBytes_AsString

#define SIPBytes_AsString   PyBytes_AsString

Definition at line 151 of file build/sip.h.

◆ SIPBytes_Check

#define SIPBytes_Check   PyBytes_Check

Definition at line 148 of file build/sip.h.

◆ SIPBytes_FromString

#define SIPBytes_FromString   PyBytes_FromString

Definition at line 149 of file build/sip.h.

◆ SIPBytes_FromStringAndSize

#define SIPBytes_FromStringAndSize   PyBytes_FromStringAndSize

Definition at line 150 of file build/sip.h.

◆ SIPBytes_GET_SIZE

#define SIPBytes_GET_SIZE   PyBytes_GET_SIZE

Definition at line 154 of file build/sip.h.

◆ SIPBytes_Size

#define SIPBytes_Size   PyBytes_Size

Definition at line 152 of file build/sip.h.

◆ sipClassName

#define sipClassName ( w)
Value:
PyString_FromString(Py_TYPE(w)->tp_name)

Definition at line 1802 of file build/sip.h.

◆ sipCppHasRef

#define sipCppHasRef ( sw)
Value:
((sw)->sw_flags & SIP_CPP_HAS_REF)
#define SIP_CPP_HAS_REF
Definition build/sip.h:1750

Definition at line 1763 of file build/sip.h.

◆ sipIsAccessFunc

#define sipIsAccessFunc ( sw)
Value:
((sw)->sw_flags & SIP_ACCFUNC)
#define SIP_ACCFUNC
Definition build/sip.h:1744

Definition at line 1757 of file build/sip.h.

◆ sipIsAlias

#define sipIsAlias ( sw)
Value:
((sw)->sw_flags & SIP_ALIAS)
#define SIP_ALIAS
Definition build/sip.h:1752

Definition at line 1768 of file build/sip.h.

◆ sipIsDerived

#define sipIsDerived ( sw)
Value:
((sw)->sw_flags & SIP_DERIVED_CLASS)
#define SIP_DERIVED_CLASS
Definition build/sip.h:1729

Definition at line 1755 of file build/sip.h.

◆ sipIsExactWrappedType

#define sipIsExactWrappedType ( wt)
Value:
(sipTypeAsPyTypeObject((wt)->wt_td) == (PyTypeObject *)(wt))
#define sipTypeAsPyTypeObject(td)
Definition build/sip.h:1795

Definition at line 1803 of file build/sip.h.

◆ sipIsIndirect

#define sipIsIndirect ( sw)
Value:
((sw)->sw_flags & SIP_INDIRECT)
#define SIP_INDIRECT
Definition build/sip.h:1743

Definition at line 1756 of file build/sip.h.

◆ sipIsPyOwned

#define sipIsPyOwned ( sw)
Value:
((sw)->sw_flags & SIP_PY_OWNED)
#define SIP_PY_OWNED
Definition build/sip.h:1748

Definition at line 1760 of file build/sip.h.

◆ SIPLong_AsLong

#define SIPLong_AsLong   PyLong_AsLong

Definition at line 146 of file build/sip.h.

◆ SIPLong_Check

#define SIPLong_Check   PyLong_Check

Definition at line 144 of file build/sip.h.

◆ SIPLong_FromLong

#define SIPLong_FromLong   PyLong_FromLong

Definition at line 145 of file build/sip.h.

◆ sipNameFromPool

#define sipNameFromPool ( em,
mr )
Value:
(&((em)->em_strings)[(mr)])

Definition at line 1821 of file build/sip.h.

◆ sipNameOfModule

#define sipNameOfModule ( em)
Value:
sipNameFromPool((em), (em)->em_name)
#define sipNameFromPool(em, mr)
Definition build/sip.h:1821

Definition at line 1822 of file build/sip.h.

◆ sipNotInMap

#define sipNotInMap ( sw)
Value:
((sw)->sw_flags & SIP_NOT_IN_MAP)
#define SIP_NOT_IN_MAP
Definition build/sip.h:1745

Definition at line 1758 of file build/sip.h.

◆ sipPossibleProxy

#define sipPossibleProxy ( sw)
Value:
((sw)->sw_flags & SIP_POSSIBLE_PROXY)
#define SIP_POSSIBLE_PROXY
Definition build/sip.h:1751

Definition at line 1766 of file build/sip.h.

◆ sipPyNameOfContainer

#define sipPyNameOfContainer ( cod,
td )
Value:
sipNameFromPool((td)->td_module, (cod)->cod_name)

Definition at line 1823 of file build/sip.h.

◆ sipPyNameOfEnum

#define sipPyNameOfEnum ( etd)
Value:
sipNameFromPool((etd)->etd_base.td_module, (etd)->etd_name)

Definition at line 1824 of file build/sip.h.

◆ sipResetCppHasRef

#define sipResetCppHasRef ( sw)
Value:
((sw)->sw_flags &= ~SIP_CPP_HAS_REF)

Definition at line 1765 of file build/sip.h.

◆ sipResetPyOwned

#define sipResetPyOwned ( sw)
Value:
((sw)->sw_flags &= ~SIP_PY_OWNED)

Definition at line 1762 of file build/sip.h.

◆ sipSetCppHasRef

#define sipSetCppHasRef ( sw)
Value:
((sw)->sw_flags |= SIP_CPP_HAS_REF)

Definition at line 1764 of file build/sip.h.

◆ sipSetNotInMap

#define sipSetNotInMap ( sw)
Value:
((sw)->sw_flags |= SIP_NOT_IN_MAP)

Definition at line 1759 of file build/sip.h.

◆ sipSetPossibleProxy

#define sipSetPossibleProxy ( sw)
Value:
((sw)->sw_flags |= SIP_POSSIBLE_PROXY)

Definition at line 1767 of file build/sip.h.

◆ sipSetPyOwned

#define sipSetPyOwned ( sw)
Value:
((sw)->sw_flags |= SIP_PY_OWNED)

Definition at line 1761 of file build/sip.h.

◆ sipTypeAllowNone

#define sipTypeAllowNone ( td)
Value:
((td)->td_flags & SIP_TYPE_ALLOW_NONE)
#define SIP_TYPE_ALLOW_NONE
Definition build/sip.h:1780

Definition at line 1811 of file build/sip.h.

◆ sipTypeAsPyTypeObject

#define sipTypeAsPyTypeObject ( td)
Value:
((td)->td_py_type)

Definition at line 1795 of file build/sip.h.

◆ sipTypeCallSuperInit

#define sipTypeCallSuperInit ( td)
Value:
((td)->td_flags & SIP_TYPE_SUPER_INIT)
#define SIP_TYPE_SUPER_INIT
Definition build/sip.h:1783

Definition at line 1815 of file build/sip.h.

◆ sipTypeHasNonlazyMethod

#define sipTypeHasNonlazyMethod ( td)
Value:
((td)->td_flags & SIP_TYPE_NONLAZY)
#define SIP_TYPE_NONLAZY
Definition build/sip.h:1782

Definition at line 1814 of file build/sip.h.

◆ sipTypeHasSCC

#define sipTypeHasSCC ( td)
Value:
((td)->td_flags & SIP_TYPE_SCC)
#define SIP_TYPE_SCC
Definition build/sip.h:1779

Definition at line 1810 of file build/sip.h.

◆ sipTypeIsAbstract

#define sipTypeIsAbstract ( td)
Value:
((td)->td_flags & SIP_TYPE_ABSTRACT)
#define SIP_TYPE_ABSTRACT
Definition build/sip.h:1778

Definition at line 1809 of file build/sip.h.

◆ sipTypeIsClass

#define sipTypeIsClass ( td)
Value:
(((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_CLASS)
#define SIP_TYPE_CLASS
Definition build/sip.h:1773
#define SIP_TYPE_TYPE_MASK
Definition build/sip.h:1772

Definition at line 1790 of file build/sip.h.

◆ sipTypeIsEnum

#define sipTypeIsEnum ( td)
Value:
(((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_ENUM)
#define SIP_TYPE_ENUM
Definition build/sip.h:1776

Definition at line 1793 of file build/sip.h.

◆ sipTypeIsMapped

#define sipTypeIsMapped ( td)
Value:
(((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_MAPPED)
#define SIP_TYPE_MAPPED
Definition build/sip.h:1775

Definition at line 1792 of file build/sip.h.

◆ sipTypeIsNamespace

#define sipTypeIsNamespace ( td)
Value:
(((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_NAMESPACE)
#define SIP_TYPE_NAMESPACE
Definition build/sip.h:1774

Definition at line 1791 of file build/sip.h.

◆ sipTypeIsScopedEnum

#define sipTypeIsScopedEnum ( td)
Value:
#define SIP_TYPE_SCOPED_ENUM
Definition build/sip.h:1777

Definition at line 1794 of file build/sip.h.

◆ sipTypeIsStub

#define sipTypeIsStub ( td)
Value:
((td)->td_flags & SIP_TYPE_STUB)
#define SIP_TYPE_STUB
Definition build/sip.h:1781

Definition at line 1812 of file build/sip.h.

◆ sipTypeName

#define sipTypeName ( td)
Value:
sipNameFromPool((td)->td_module, (td)->td_cname)

Definition at line 1796 of file build/sip.h.

◆ sipTypePluginData

#define sipTypePluginData ( td)
Value:
((td)->td_plugin_data)

Definition at line 1797 of file build/sip.h.

◆ sipTypeSetStub

#define sipTypeSetStub ( td)
Value:
((td)->td_flags |= SIP_TYPE_STUB)

Definition at line 1813 of file build/sip.h.

◆ sipTypeUseLimitedAPI

#define sipTypeUseLimitedAPI ( td)
Value:
((td)->td_flags & SIP_TYPE_LIMITED_API)
#define SIP_TYPE_LIMITED_API
Definition build/sip.h:1784

Definition at line 1816 of file build/sip.h.

◆ sipWasCreated

#define sipWasCreated ( sw)
Value:
((sw)->sw_flags & SIP_CREATED)
#define SIP_CREATED
Definition build/sip.h:1753

Definition at line 1769 of file build/sip.h.

Typedef Documentation

◆ pyqt4ClassPluginDef

◆ pyqt4QtSignal

typedef struct _pyqt4QtSignal pyqt4QtSignal

◆ pyqt5ClassPluginDef

◆ pyqt5EmitFunc

typedef int(* pyqt5EmitFunc) (void *, PyObject *)

Definition at line 1889 of file build/sip.h.

◆ pyqt5QtSignal

typedef struct _pyqt5QtSignal pyqt5QtSignal

◆ sip_gilstate_t

typedef int sip_gilstate_t

Definition at line 177 of file build/sip.h.

◆ sipAccessFunc

typedef void *(* sipAccessFunc) (sipSimpleWrapper *, AccessFuncOp)

Definition at line 255 of file build/sip.h.

◆ sipAPIDef

typedef struct _sipAPIDef sipAPIDef

◆ sipArrayDeleteFunc

typedef void(* sipArrayDeleteFunc) (void *)

Definition at line 274 of file build/sip.h.

◆ sipArrayFunc

typedef void *(* sipArrayFunc) (Py_ssize_t)

Definition at line 273 of file build/sip.h.

◆ sipAssignFunc

typedef void(* sipAssignFunc) (void *, Py_ssize_t, void *)

Definition at line 272 of file build/sip.h.

◆ sipAttrGetterFunc

typedef int(* sipAttrGetterFunc) (const sipTypeDef *, PyObject *)

Definition at line 278 of file build/sip.h.

◆ sipBufferDef

typedef struct _sipBufferDef sipBufferDef

Definition at line 188 of file build/sip.h.

◆ sipBufferInfoDef

Definition at line 191 of file build/sip.h.

◆ sipCastFunc

typedef void *(* sipCastFunc) (void *, const sipTypeDef *)

Definition at line 265 of file build/sip.h.

◆ sipCFunctionDef

Definition at line 194 of file build/sip.h.

◆ sipCharInstanceDef

◆ sipClassTypeDef

◆ sipClearFunc

typedef int(* sipClearFunc) (void *)

Definition at line 257 of file build/sip.h.

◆ sipCollectingWrapperEventHandler

typedef void(* sipCollectingWrapperEventHandler) (sipSimpleWrapper *sipSelf)

Definition at line 235 of file build/sip.h.

◆ sipContainerDef

◆ sipConvertFromFunc

typedef PyObject *(* sipConvertFromFunc) (void *, PyObject *)

Definition at line 268 of file build/sip.h.

◆ sipConvertToFunc

typedef int(* sipConvertToFunc) (PyObject *, void **, int *, PyObject *)

Definition at line 267 of file build/sip.h.

◆ sipCopyFunc

typedef void *(* sipCopyFunc) (const void *, Py_ssize_t)

Definition at line 275 of file build/sip.h.

◆ sipDateDef

typedef struct _sipDateDef sipDateDef

Definition at line 197 of file build/sip.h.

◆ sipDeallocFunc

typedef void(* sipDeallocFunc) (sipSimpleWrapper *)

Definition at line 264 of file build/sip.h.

◆ sipDelayedDtor

◆ sipDoubleInstanceDef

◆ sipEncodedTypeDef

◆ sipEnumMemberDef

◆ sipEnumTypeDef

◆ sipEnumTypeObject

Definition at line 200 of file build/sip.h.

◆ sipExceptionHandler

typedef void* sipExceptionHandler

Definition at line 27 of file build/sip.h.

◆ sipExportedModuleDef

◆ sipExternalTypeDef

◆ sipFinalFunc

typedef int(* sipFinalFunc) (PyObject *, void *, PyObject *, PyObject **)

Definition at line 254 of file build/sip.h.

◆ sipGetBufferFunc

typedef int(* sipGetBufferFunc) (PyObject *, void *, Py_buffer *, int)

Definition at line 261 of file build/sip.h.

◆ sipGetBufferFuncLimited

typedef int(* sipGetBufferFuncLimited) (PyObject *, void *, sipBufferDef *)

Definition at line 258 of file build/sip.h.

◆ sipImportedExceptionDef

◆ sipImportedModuleDef

◆ sipImportedTypeDef

◆ sipImportedVirtErrorHandlerDef

◆ sipInitExtenderDef

◆ sipInitFunc

typedef void *(* sipInitFunc) (sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **)

Definition at line 252 of file build/sip.h.

◆ sipInstancesDef

◆ sipIntInstanceDef

◆ sipIntTypeClassMap

◆ sipLicenseDef

typedef struct _sipLicenseDef sipLicenseDef

◆ sipLongInstanceDef

◆ sipLongLongInstanceDef

◆ sipMappedType

Definition at line 975 of file build/sip.h.

◆ sipMappedTypeDef

◆ sipMethodDef

typedef struct _sipMethodDef sipMethodDef

Definition at line 203 of file build/sip.h.

◆ sipNewUserTypeFunc

typedef int(* sipNewUserTypeFunc) (sipWrapperType *)

Definition at line 282 of file build/sip.h.

◆ sipPickleFunc

typedef PyObject *(* sipPickleFunc) (void *)

Definition at line 277 of file build/sip.h.

◆ sipProxyResolverFunc

typedef void *(* sipProxyResolverFunc) (void *)

Definition at line 281 of file build/sip.h.

◆ sipPyMethod

typedef struct _sipPyMethod sipPyMethod

◆ sipPySlotDef

typedef struct _sipPySlotDef sipPySlotDef

◆ sipPySlotExtenderDef

◆ sipQtAPI

typedef struct _sipQtAPI sipQtAPI

◆ sipReleaseBufferFunc

typedef void(* sipReleaseBufferFunc) (PyObject *, void *, Py_buffer *)

Definition at line 262 of file build/sip.h.

◆ sipReleaseBufferFuncLimited

typedef void(* sipReleaseBufferFuncLimited) (PyObject *, void *)

Definition at line 259 of file build/sip.h.

◆ sipReleaseFunc

typedef void(* sipReleaseFunc) (void *, int)

Definition at line 276 of file build/sip.h.

◆ sipSimpleWrapper

Definition at line 206 of file build/sip.h.

◆ sipSlot

typedef struct _sipSlot sipSlot

◆ sipStringInstanceDef

◆ sipStringTypeClassMap

◆ sipSubClassConvertFunc

typedef const sipTypeDef *(* sipSubClassConvertFunc) (void **)

Definition at line 266 of file build/sip.h.

◆ sipSubClassConvertorDef

◆ sipTimeDef

typedef struct _sipTimeDef sipTimeDef

Definition at line 209 of file build/sip.h.

◆ sipTraverseFunc

typedef int(* sipTraverseFunc) (void *, visitproc, void *)

Definition at line 256 of file build/sip.h.

◆ sipTypeDef

typedef struct _sipTypeDef sipTypeDef

Definition at line 212 of file build/sip.h.

◆ sipTypedefDef

typedef struct _sipTypedefDef sipTypedefDef

◆ sipTypeInstanceDef

◆ sipUnsignedLongInstanceDef

◆ sipUnsignedLongLongInstanceDef

◆ sipVariableDef

◆ sipVariableGetterFunc

typedef PyObject *(* sipVariableGetterFunc) (void *, PyObject *, PyObject *)

Definition at line 279 of file build/sip.h.

◆ sipVariableSetterFunc

typedef int(* sipVariableSetterFunc) (void *, PyObject *, PyObject *)

Definition at line 280 of file build/sip.h.

◆ sipVersionedFunctionDef

◆ sipVirtErrorHandlerDef

◆ sipVirtErrorHandlerFunc

typedef void(* sipVirtErrorHandlerFunc) (sipSimpleWrapper *, sip_gilstate_t)

Definition at line 269 of file build/sip.h.

◆ sipVirtHandlerFunc

typedef int(* sipVirtHandlerFunc) (sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,...)

Definition at line 270 of file build/sip.h.

◆ sipVoidPtrInstanceDef

◆ sipWrappedInstanceEventHandler

typedef void(* sipWrappedInstanceEventHandler) (void *sipCpp)

Definition at line 234 of file build/sip.h.

◆ sipWrapper

typedef struct _sipWrapper sipWrapper

Definition at line 218 of file build/sip.h.

◆ sipWrapperType

Definition at line 215 of file build/sip.h.

◆ sipWrapperVisitorFunc

typedef void(* sipWrapperVisitorFunc) (sipSimpleWrapper *, void *)

Definition at line 283 of file build/sip.h.

◆ uint

typedef unsigned int uint

Definition at line 101 of file build/sip.h.

Enumeration Type Documentation

◆ AccessFuncOp

Enumerator
UnguardedPointer 
GuardedPointer 
ReleaseGuard 

Definition at line 241 of file build/sip.h.

◆ sipErrorState

Enumerator
sipErrorNone 
sipErrorFail 
sipErrorContinue 

Definition at line 594 of file build/sip.h.

◆ sipEventType

Enumerator
sipEventWrappedInstance 
sipEventCollectingWrapper 
sipEventNrEvents 

Definition at line 224 of file build/sip.h.

◆ sipPySlotType

Enumerator
str_slot 
int_slot 
float_slot 
len_slot 
contains_slot 
add_slot 
concat_slot 
sub_slot 
mul_slot 
repeat_slot 
div_slot 
mod_slot 
floordiv_slot 
truediv_slot 
and_slot 
or_slot 
xor_slot 
lshift_slot 
rshift_slot 
iadd_slot 
iconcat_slot 
isub_slot 
imul_slot 
irepeat_slot 
idiv_slot 
imod_slot 
ifloordiv_slot 
itruediv_slot 
iand_slot 
ior_slot 
ixor_slot 
ilshift_slot 
irshift_slot 
invert_slot 
call_slot 
getitem_slot 
setitem_slot 
delitem_slot 
lt_slot 
le_slot 
eq_slot 
ne_slot 
gt_slot 
ge_slot 
bool_slot 
neg_slot 
repr_slot 
hash_slot 
pos_slot 
abs_slot 
index_slot 
iter_slot 
next_slot 
setattr_slot 
matmul_slot 
imatmul_slot 
await_slot 
aiter_slot 
anext_slot 

Definition at line 605 of file build/sip.h.

◆ sipVariableType

Enumerator
PropertyVariable 
InstanceVariable 
ClassVariable 

Definition at line 711 of file build/sip.h.

Function Documentation

◆ sip_init_library()

const sipAPIDef * sip_init_library ( PyObject * mod_dict)