PLplot 5.15.0
Loading...
Searching...
No Matches
sip.h File Reference
#include <Python.h>
#include <stdbool.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   20
#define SIP_MODULE_PATCH_VERSION   0
#define SIP_VERSION   0x61101
#define SIP_VERSION_STR   "6.17.1"
#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   {PyGILState_STATE sipGIL = PyGILState_Ensure();
#define SIP_UNBLOCK_THREADS   PyGILState_Release(sipGIL);}
#define sipGetModuleState()
#define sipGetModuleStateByType(type)
#define sipGetVoidPtrType()
#define sipMakeAbsolute(id)
#define sipObjectGuard_GetModuleState(g)
#define sipType_Invalid   NULL
#define SIP_NOT_NONE   0x01
#define SIP_NO_CONVERTORS   0x02
#define SIP_READ_ONLY   0x01
#define SIP_OWNS_MEMORY   0x02
#define SIP_TEMPORARY   0x01
#define SIP_DERIVED_CLASS   0x02
#define SIP_SINGLE_SHOT   0x01
#define SIP_INDIRECT   0x0004
#define SIP_ACCFUNC   0x0008
#define SIP_NOT_IN_MAP   0x0010
#define SIP_PY_OWNED   0x0020
#define SIP_SHARE_MAP   0x0040
#define SIP_CPP_HAS_REF   0x0080
#define SIP_POSSIBLE_PROXY   0x0100
#define SIP_ALIAS   0x0200
#define SIP_CREATED   0x0400
#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
#define SIP_TYPE_CLASS   0x0000
#define SIP_TYPE_NAMESPACE   0x0001
#define SIP_TYPE_MAPPED   0x0002
#define SIP_TYPE_ENUM   0x0003
#define SIP_TYPE_SCOPED_ENUM   0x0004
#define SIP_TYPE_ABSTRACT   0x0008
#define SIP_TYPE_SCC   0x0010
#define SIP_TYPE_ALLOW_NONE   0x0020
#define SIP_TYPE_STUB   0x0040
#define SIP_TYPE_NONLAZY   0x0080
#define SIP_TYPE_SUPER_INIT   0x0100
#define SIP_TYPE_LIMITED_API   0x0200
#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 PyGILState_STATE sip_gilstate_t
typedef PyObject sipObjectGuard
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 const sipTypeDef * sipTypeID
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 sipVirtErrorHandlerFunc sipVirtErrorHandler
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 sipAPIDef * sip_init_library (PyObject *mod_dict)

Macro Definition Documentation

◆ _SIP_MODULE_ENTRY

#define _SIP_MODULE_ENTRY   PyInit_sip

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

◆ _SIP_MODULE_FQ_NAME

#define _SIP_MODULE_FQ_NAME   "PyQt5.sip"

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

◆ _SIP_MODULE_LEGACY

#define _SIP_MODULE_LEGACY   1

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

◆ _SIP_MODULE_NAME

#define _SIP_MODULE_NAME   "sip"

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

◆ _SIP_MODULE_SHARED

#define _SIP_MODULE_SHARED   1

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

◆ SIP_ABI_MAJOR_VERSION

#define SIP_ABI_MAJOR_VERSION   12

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

◆ SIP_ABI_MINOR_VERSION

#define SIP_ABI_MINOR_VERSION   20

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

◆ SIP_ACCFUNC

#define SIP_ACCFUNC   0x0008

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

◆ SIP_ALIAS

#define SIP_ALIAS   0x0200

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

◆ SIP_API_MAJOR_NR

#define SIP_API_MAJOR_NR   SIP_ABI_MAJOR_VERSION

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

◆ SIP_API_MINOR_NR

#define SIP_API_MINOR_NR   SIP_ABI_MINOR_VERSION

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

◆ SIP_BLOCK_THREADS

#define SIP_BLOCK_THREADS   {PyGILState_STATE sipGIL = PyGILState_Ensure();

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

◆ SIP_CPP_HAS_REF

#define SIP_CPP_HAS_REF   0x0080

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

◆ SIP_CREATED

#define SIP_CREATED   0x0400

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

◆ SIP_DERIVED_CLASS

#define SIP_DERIVED_CLASS   0x02

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

◆ SIP_INDIRECT

#define SIP_INDIRECT   0x0004

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

◆ SIP_MLMETH_CAST

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

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

◆ SIP_MODULE_PATCH_VERSION

#define SIP_MODULE_PATCH_VERSION   0

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

◆ SIP_MODULE_RETURN

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

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

◆ SIP_NO_CONVERTORS

#define SIP_NO_CONVERTORS   0x02

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

◆ SIP_NOT_IN_MAP

#define SIP_NOT_IN_MAP   0x0010

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

◆ SIP_NOT_NONE

#define SIP_NOT_NONE   0x01

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

◆ SIP_NULLPTR

#define SIP_NULLPTR   NULL

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

◆ SIP_OVERRIDE

#define SIP_OVERRIDE

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

◆ SIP_OWNS_MEMORY

#define SIP_OWNS_MEMORY   0x02

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

◆ SIP_POSSIBLE_PROXY

#define SIP_POSSIBLE_PROXY   0x0100

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

◆ SIP_PY_OWNED

#define SIP_PY_OWNED   0x0020

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

◆ SIP_READ_ONLY

#define SIP_READ_ONLY   0x01

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

◆ SIP_RELEASE_GIL

#define SIP_RELEASE_GIL ( gs)
Value:
PyGILState_Release(gs);

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

◆ SIP_SHARE_MAP

#define SIP_SHARE_MAP   0x0040

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

◆ SIP_SINGLE_SHOT

#define SIP_SINGLE_SHOT   0x01

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

◆ SIP_SSIZE_T

#define SIP_SSIZE_T   Py_ssize_t

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

◆ SIP_SSIZE_T_FORMAT

#define SIP_SSIZE_T_FORMAT   "%zd"

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

◆ SIP_TEMPORARY

#define SIP_TEMPORARY   0x01

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

◆ SIP_TRACE_CATCHERS

#define SIP_TRACE_CATCHERS   0x0001

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

◆ SIP_TRACE_CTORS

#define SIP_TRACE_CTORS   0x0002

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

◆ SIP_TRACE_DEALLOCS

#define SIP_TRACE_DEALLOCS   0x0010

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

◆ SIP_TRACE_DTORS

#define SIP_TRACE_DTORS   0x0004

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

◆ SIP_TRACE_INITS

#define SIP_TRACE_INITS   0x0008

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

◆ SIP_TRACE_METHODS

#define SIP_TRACE_METHODS   0x0020

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

◆ SIP_TYPE_ABSTRACT

#define SIP_TYPE_ABSTRACT   0x0008

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

◆ SIP_TYPE_ALLOW_NONE

#define SIP_TYPE_ALLOW_NONE   0x0020

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

◆ SIP_TYPE_CLASS

#define SIP_TYPE_CLASS   0x0000

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

◆ SIP_TYPE_ENUM

#define SIP_TYPE_ENUM   0x0003

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

◆ SIP_TYPE_LIMITED_API

#define SIP_TYPE_LIMITED_API   0x0200

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

◆ SIP_TYPE_MAPPED

#define SIP_TYPE_MAPPED   0x0002

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

◆ SIP_TYPE_NAMESPACE

#define SIP_TYPE_NAMESPACE   0x0001

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

◆ SIP_TYPE_NONLAZY

#define SIP_TYPE_NONLAZY   0x0080

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

◆ SIP_TYPE_SCC

#define SIP_TYPE_SCC   0x0010

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

◆ SIP_TYPE_SCOPED_ENUM

#define SIP_TYPE_SCOPED_ENUM   0x0004

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

◆ SIP_TYPE_STUB

#define SIP_TYPE_STUB   0x0040

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

◆ SIP_TYPE_SUPER_INIT

#define SIP_TYPE_SUPER_INIT   0x0100

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

◆ SIP_TYPE_TYPE_MASK

#define SIP_TYPE_TYPE_MASK   0x0007

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

◆ SIP_UNBLOCK_THREADS

#define SIP_UNBLOCK_THREADS   PyGILState_Release(sipGIL);}

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

◆ SIP_USE_PYCAPSULE

#define SIP_USE_PYCAPSULE

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

◆ SIP_VERSION

#define SIP_VERSION   0x61101

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

◆ SIP_VERSION_STR

#define SIP_VERSION_STR   "6.17.1"

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

◆ SIPBytes_AS_STRING

#define SIPBytes_AS_STRING   PyBytes_AS_STRING

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

◆ SIPBytes_AsString

#define SIPBytes_AsString   PyBytes_AsString

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

◆ SIPBytes_Check

#define SIPBytes_Check   PyBytes_Check

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

◆ SIPBytes_FromString

#define SIPBytes_FromString   PyBytes_FromString

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

◆ SIPBytes_FromStringAndSize

#define SIPBytes_FromStringAndSize   PyBytes_FromStringAndSize

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

◆ SIPBytes_GET_SIZE

#define SIPBytes_GET_SIZE   PyBytes_GET_SIZE

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

◆ SIPBytes_Size

#define SIPBytes_Size   PyBytes_Size

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

◆ sipClassName

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

Definition at line 1870 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:1818

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

◆ sipGetModuleState

#define sipGetModuleState ( )
Value:
((sipModuleState *)sipVoidPtr_Type)

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

◆ sipGetModuleStateByType

#define sipGetModuleStateByType ( type)
Value:
((sipModuleState *)sipVoidPtr_Type)

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

◆ sipGetVoidPtrType

#define sipGetVoidPtrType ( )
Value:

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

◆ sipIsAccessFunc

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

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

◆ sipIsAlias

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

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

◆ sipIsDerived

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

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

◆ sipIsExactWrappedType

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

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

◆ sipIsIndirect

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

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

◆ sipIsPyOwned

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

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

◆ SIPLong_AsLong

#define SIPLong_AsLong   PyLong_AsLong

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

◆ SIPLong_Check

#define SIPLong_Check   PyLong_Check

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

◆ SIPLong_FromLong

#define SIPLong_FromLong   PyLong_FromLong

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

◆ sipMakeAbsolute

#define sipMakeAbsolute ( id)
Value:
id

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

◆ sipNameFromPool

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

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

◆ sipNameOfModule

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

Definition at line 1890 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:1813

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

◆ sipObjectGuard_GetModuleState

#define sipObjectGuard_GetModuleState ( g)
Value:
((sipModuleState *)sipVoidPtr_Type)

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

◆ sipPossibleProxy

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

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

◆ sipPyNameOfContainer

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

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

◆ sipPyNameOfEnum

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

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

◆ sipResetCppHasRef

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

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

◆ sipResetPyOwned

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

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

◆ sipSetCppHasRef

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

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

◆ sipSetNotInMap

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

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

◆ sipSetPossibleProxy

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

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

◆ sipSetPyOwned

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

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

◆ sipType_Invalid

#define sipType_Invalid   NULL

Definition at line 261 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:1848

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

◆ sipTypeAsPyTypeObject

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

Definition at line 1863 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:1851

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

◆ sipTypeHasNonlazyMethod

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

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

◆ sipTypeHasSCC

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

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

◆ sipTypeIsAbstract

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

Definition at line 1877 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:1841
#define SIP_TYPE_TYPE_MASK
Definition build/sip.h:1840

Definition at line 1858 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:1844

Definition at line 1861 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:1843

Definition at line 1860 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:1842

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

◆ sipTypeIsScopedEnum

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

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

◆ sipTypeIsStub

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

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

◆ sipTypeName

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

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

◆ sipTypePluginData

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

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

◆ sipTypeSetStub

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

Definition at line 1881 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:1852

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

◆ sipWasCreated

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

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

Typedef Documentation

◆ pyqt4ClassPluginDef

◆ pyqt4QtSignal

typedef struct _pyqt4QtSignal pyqt4QtSignal

◆ pyqt5ClassPluginDef

◆ pyqt5EmitFunc

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

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

◆ pyqt5QtSignal

typedef struct _pyqt5QtSignal pyqt5QtSignal

◆ sip_gilstate_t

typedef PyGILState_STATE sip_gilstate_t

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

◆ sipAccessFunc

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

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

◆ sipAPIDef

typedef struct _sipAPIDef sipAPIDef

◆ sipArrayDeleteFunc

typedef void(*) sipArrayDeleteFunc(void *)

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

◆ sipArrayFunc

typedef void *(*) sipArrayFunc(Py_ssize_t)

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

◆ sipAssignFunc

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

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

◆ sipAttrGetterFunc

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

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

◆ sipBufferDef

typedef struct _sipBufferDef sipBufferDef

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

◆ sipBufferInfoDef

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

◆ sipCastFunc

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

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

◆ sipCFunctionDef

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

◆ sipCharInstanceDef

◆ sipClassTypeDef

◆ sipClearFunc

typedef int(*) sipClearFunc(void *)

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

◆ sipCollectingWrapperEventHandler

typedef void(*) sipCollectingWrapperEventHandler(sipSimpleWrapper *sipSelf)

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

◆ sipContainerDef

◆ sipConvertFromFunc

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

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

◆ sipConvertToFunc

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

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

◆ sipCopyFunc

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

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

◆ sipDateDef

typedef struct _sipDateDef sipDateDef

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

◆ sipDeallocFunc

typedef void(*) sipDeallocFunc(sipSimpleWrapper *)

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

◆ sipDelayedDtor

◆ sipDoubleInstanceDef

◆ sipEncodedTypeDef

◆ sipEnumMemberDef

◆ sipEnumTypeDef

◆ sipEnumTypeObject

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

◆ sipExceptionHandler

typedef void* sipExceptionHandler

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

◆ sipExportedModuleDef

◆ sipExternalTypeDef

◆ sipFinalFunc

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

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

◆ sipGetBufferFunc

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

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

◆ sipGetBufferFuncLimited

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

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

◆ sipImportedExceptionDef

◆ sipImportedModuleDef

◆ sipImportedTypeDef

◆ sipImportedVirtErrorHandlerDef

◆ sipInitExtenderDef

◆ sipInitFunc

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

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

◆ sipInstancesDef

◆ sipIntInstanceDef

◆ sipIntTypeClassMap

◆ sipLicenseDef

typedef struct _sipLicenseDef sipLicenseDef

◆ sipLongInstanceDef

◆ sipLongLongInstanceDef

◆ sipMappedType

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

◆ sipMappedTypeDef

◆ sipMethodDef

typedef struct _sipMethodDef sipMethodDef

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

◆ sipNewUserTypeFunc

typedef int(*) sipNewUserTypeFunc(sipWrapperType *)

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

◆ sipObjectGuard

typedef PyObject sipObjectGuard

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

◆ sipPickleFunc

typedef PyObject *(*) sipPickleFunc(void *)

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

◆ sipProxyResolverFunc

typedef void *(*) sipProxyResolverFunc(void *)

Definition at line 326 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 307 of file build/sip.h.

◆ sipReleaseBufferFuncLimited

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

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

◆ sipReleaseFunc

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

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

◆ sipSimpleWrapper

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

◆ sipSlot

typedef struct _sipSlot sipSlot

◆ sipStringInstanceDef

◆ sipStringTypeClassMap

◆ sipSubClassConvertFunc

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

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

◆ sipSubClassConvertorDef

◆ sipTimeDef

typedef struct _sipTimeDef sipTimeDef

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

◆ sipTraverseFunc

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

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

◆ sipTypeDef

typedef struct _sipTypeDef sipTypeDef

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

◆ sipTypedefDef

typedef struct _sipTypedefDef sipTypedefDef

◆ sipTypeID

typedef const sipTypeDef* sipTypeID

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

◆ sipTypeInstanceDef

◆ sipUnsignedLongInstanceDef

◆ sipUnsignedLongLongInstanceDef

◆ sipVariableDef

◆ sipVariableGetterFunc

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

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

◆ sipVariableSetterFunc

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

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

◆ sipVersionedFunctionDef

◆ sipVirtErrorHandler

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

◆ sipVirtErrorHandlerDef

◆ sipVirtErrorHandlerFunc

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

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

◆ sipVirtHandlerFunc

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

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

◆ sipVoidPtrInstanceDef

◆ sipWrappedInstanceEventHandler

typedef void(*) sipWrappedInstanceEventHandler(void *sipCpp)

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

◆ sipWrapper

typedef struct _sipWrapper sipWrapper

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

◆ sipWrapperType

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

◆ sipWrapperVisitorFunc

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

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

◆ uint

typedef unsigned int uint

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

Enumeration Type Documentation

◆ AccessFuncOp

Enumerator
UnguardedPointer 
GuardedPointer 
ReleaseGuard 

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

◆ sipErrorState

Enumerator
sipErrorNone 
sipErrorFail 
sipErrorContinue 

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

◆ sipEventType

Enumerator
sipEventWrappedInstance 
sipEventCollectingWrapper 
sipEventNrEvents 

Definition at line 269 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 653 of file build/sip.h.

◆ sipVariableType

Enumerator
PropertyVariable 
InstanceVariable 
ClassVariable 

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

Function Documentation

◆ sip_init_library()

const sipAPIDef * sip_init_library ( PyObject * mod_dict)