|
PLplot
5.15.0
|
#include <Python.h>Go to the source code of this file.
Macros | |
| #define | SIP_MODULE_PATCH_VERSION 1 |
| #define | SIP_ABI_MAJOR_VERSION 12 |
| #define | SIP_ABI_MINOR_VERSION 8 |
| #define | SIP_VERSION 0x60101 |
| #define | SIP_VERSION_STR "6.1.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) ((PyCFunction)(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) 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) ((sw)->sw_flags & SIP_DERIVED_CLASS) |
| #define | sipIsIndirect(sw) ((sw)->sw_flags & SIP_INDIRECT) |
| #define | sipIsAccessFunc(sw) ((sw)->sw_flags & SIP_ACCFUNC) |
| #define | sipNotInMap(sw) ((sw)->sw_flags & SIP_NOT_IN_MAP) |
| #define | sipSetNotInMap(sw) ((sw)->sw_flags |= SIP_NOT_IN_MAP) |
| #define | sipIsPyOwned(sw) ((sw)->sw_flags & SIP_PY_OWNED) |
| #define | sipSetPyOwned(sw) ((sw)->sw_flags |= SIP_PY_OWNED) |
| #define | sipResetPyOwned(sw) ((sw)->sw_flags &= ~SIP_PY_OWNED) |
| #define | sipCppHasRef(sw) ((sw)->sw_flags & SIP_CPP_HAS_REF) |
| #define | sipSetCppHasRef(sw) ((sw)->sw_flags |= SIP_CPP_HAS_REF) |
| #define | sipResetCppHasRef(sw) ((sw)->sw_flags &= ~SIP_CPP_HAS_REF) |
| #define | sipPossibleProxy(sw) ((sw)->sw_flags & SIP_POSSIBLE_PROXY) |
| #define | sipSetPossibleProxy(sw) ((sw)->sw_flags |= SIP_POSSIBLE_PROXY) |
| #define | sipIsAlias(sw) ((sw)->sw_flags & SIP_ALIAS) |
| #define | sipWasCreated(sw) ((sw)->sw_flags & SIP_CREATED) |
| #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) (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_CLASS) |
| #define | sipTypeIsNamespace(td) (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_NAMESPACE) |
| #define | sipTypeIsMapped(td) (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_MAPPED) |
| #define | sipTypeIsEnum(td) (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_ENUM) |
| #define | sipTypeIsScopedEnum(td) (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_SCOPED_ENUM) |
| #define | sipTypeAsPyTypeObject(td) ((td)->td_py_type) |
| #define | sipTypeName(td) sipNameFromPool((td)->td_module, (td)->td_cname) |
| #define | sipTypePluginData(td) ((td)->td_plugin_data) |
| #define | sipClassName(w) PyString_FromString(Py_TYPE(w)->tp_name) |
| #define | sipIsExactWrappedType(wt) (sipTypeAsPyTypeObject((wt)->wt_td) == (PyTypeObject *)(wt)) |
| #define | sipTypeIsAbstract(td) ((td)->td_flags & SIP_TYPE_ABSTRACT) |
| #define | sipTypeHasSCC(td) ((td)->td_flags & SIP_TYPE_SCC) |
| #define | sipTypeAllowNone(td) ((td)->td_flags & SIP_TYPE_ALLOW_NONE) |
| #define | sipTypeIsStub(td) ((td)->td_flags & SIP_TYPE_STUB) |
| #define | sipTypeSetStub(td) ((td)->td_flags |= SIP_TYPE_STUB) |
| #define | sipTypeHasNonlazyMethod(td) ((td)->td_flags & SIP_TYPE_NONLAZY) |
| #define | sipTypeCallSuperInit(td) ((td)->td_flags & SIP_TYPE_SUPER_INIT) |
| #define | sipTypeUseLimitedAPI(td) ((td)->td_flags & SIP_TYPE_LIMITED_API) |
| #define | sipNameFromPool(em, mr) (&((em)->em_strings)[(mr)]) |
| #define | sipNameOfModule(em) sipNameFromPool((em), (em)->em_name) |
| #define | sipPyNameOfContainer(cod, td) sipNameFromPool((td)->td_module, (cod)->cod_name) |
| #define | sipPyNameOfEnum(etd) sipNameFromPool((etd)->etd_base.td_module, (etd)->etd_name) |
Functions | |
| const sipAPIDef * | sip_init_library (PyObject *mod_dict) |
| #define SIP_ACCFUNC 0x0008 /* If there is an access function. */ |
| #define SIP_API_MAJOR_NR SIP_ABI_MAJOR_VERSION |
| #define SIP_API_MINOR_NR SIP_ABI_MINOR_VERSION |
| #define SIP_CPP_HAS_REF 0x0080 /* If C/C++ has a reference. */ |
| #define SIP_CREATED 0x0400 /* If the C/C++ object has been created. */ |
| #define SIP_DERIVED_CLASS 0x02 /* The instance is derived. */ |
| #define SIP_INDIRECT 0x0004 /* If there is a level of indirection. */ |
| #define SIP_NO_CONVERTORS 0x02 /* Disable any type convertors. */ |
| #define SIP_NOT_IN_MAP 0x0010 /* If Python object is not in the map. */ |
| #define SIP_OWNS_MEMORY 0x02 /* The array owns its memory. */ |
| #define SIP_POSSIBLE_PROXY 0x0100 /* If there might be a proxy slot. */ |
| #define SIP_SHARE_MAP 0x0040 /* If the map slot might be occupied. */ |
| #define SIP_SINGLE_SHOT 0x01 /* The connection is single shot. */ |
| #define SIP_TYPE_ABSTRACT 0x0008 /* If the type is abstract. */ |
| #define SIP_TYPE_ALLOW_NONE 0x0020 /* If the type can handle None. */ |
| #define SIP_TYPE_CLASS 0x0000 /* If the type is a C++ class. */ |
| #define SIP_TYPE_ENUM 0x0003 /* If the type is a named enum. */ |
| #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 SIP_TYPE_MAPPED 0x0002 /* If the type is a mapped type. */ |
| #define SIP_TYPE_NAMESPACE 0x0001 /* If the type is a C++ namespace. */ |
| #define SIP_TYPE_NONLAZY 0x0080 /* If the type has a non-lazy method. */ |
| #define SIP_TYPE_SCC 0x0010 /* If the type is subject to sub-class convertors. */ |
| #define SIP_TYPE_SCOPED_ENUM 0x0004 /* If the type is a scoped enum. */ |
| #define SIP_TYPE_SUPER_INIT 0x0100 /* If the instance's super init should be called. */ |
| #define sipClassName | ( | w | ) | PyString_FromString(Py_TYPE(w)->tp_name) |
| #define sipCppHasRef | ( | sw | ) | ((sw)->sw_flags & SIP_CPP_HAS_REF) |
| #define sipIsAccessFunc | ( | sw | ) | ((sw)->sw_flags & SIP_ACCFUNC) |
| #define sipIsDerived | ( | sw | ) | ((sw)->sw_flags & SIP_DERIVED_CLASS) |
| #define sipIsExactWrappedType | ( | wt | ) | (sipTypeAsPyTypeObject((wt)->wt_td) == (PyTypeObject *)(wt)) |
| #define sipIsIndirect | ( | sw | ) | ((sw)->sw_flags & SIP_INDIRECT) |
| #define sipIsPyOwned | ( | sw | ) | ((sw)->sw_flags & SIP_PY_OWNED) |
| #define sipNameFromPool | ( | em, | |
| mr | |||
| ) | (&((em)->em_strings)[(mr)]) |
| #define sipNameOfModule | ( | em | ) | sipNameFromPool((em), (em)->em_name) |
| #define sipNotInMap | ( | sw | ) | ((sw)->sw_flags & SIP_NOT_IN_MAP) |
| #define sipPossibleProxy | ( | sw | ) | ((sw)->sw_flags & SIP_POSSIBLE_PROXY) |
| #define sipPyNameOfContainer | ( | cod, | |
| td | |||
| ) | sipNameFromPool((td)->td_module, (cod)->cod_name) |
| #define sipPyNameOfEnum | ( | etd | ) | sipNameFromPool((etd)->etd_base.td_module, (etd)->etd_name) |
| #define sipResetCppHasRef | ( | sw | ) | ((sw)->sw_flags &= ~SIP_CPP_HAS_REF) |
| #define sipResetPyOwned | ( | sw | ) | ((sw)->sw_flags &= ~SIP_PY_OWNED) |
| #define sipSetCppHasRef | ( | sw | ) | ((sw)->sw_flags |= SIP_CPP_HAS_REF) |
| #define sipSetNotInMap | ( | sw | ) | ((sw)->sw_flags |= SIP_NOT_IN_MAP) |
| #define sipSetPossibleProxy | ( | sw | ) | ((sw)->sw_flags |= SIP_POSSIBLE_PROXY) |
| #define sipSetPyOwned | ( | sw | ) | ((sw)->sw_flags |= SIP_PY_OWNED) |
| #define sipTypeAllowNone | ( | td | ) | ((td)->td_flags & SIP_TYPE_ALLOW_NONE) |
| #define sipTypeCallSuperInit | ( | td | ) | ((td)->td_flags & SIP_TYPE_SUPER_INIT) |
| #define sipTypeHasNonlazyMethod | ( | td | ) | ((td)->td_flags & SIP_TYPE_NONLAZY) |
| #define sipTypeHasSCC | ( | td | ) | ((td)->td_flags & SIP_TYPE_SCC) |
| #define sipTypeIsAbstract | ( | td | ) | ((td)->td_flags & SIP_TYPE_ABSTRACT) |
| #define sipTypeIsClass | ( | td | ) | (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_CLASS) |
| #define sipTypeIsEnum | ( | td | ) | (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_ENUM) |
| #define sipTypeIsMapped | ( | td | ) | (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_MAPPED) |
| #define sipTypeIsNamespace | ( | td | ) | (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_NAMESPACE) |
| #define sipTypeIsScopedEnum | ( | td | ) | (((td)->td_flags & SIP_TYPE_TYPE_MASK) == SIP_TYPE_SCOPED_ENUM) |
| #define sipTypeIsStub | ( | td | ) | ((td)->td_flags & SIP_TYPE_STUB) |
| #define sipTypeName | ( | td | ) | sipNameFromPool((td)->td_module, (td)->td_cname) |
| #define sipTypeSetStub | ( | td | ) | ((td)->td_flags |= SIP_TYPE_STUB) |
| #define sipTypeUseLimitedAPI | ( | td | ) | ((td)->td_flags & SIP_TYPE_LIMITED_API) |
| #define sipWasCreated | ( | sw | ) | ((sw)->sw_flags & SIP_CREATED) |
| typedef struct _pyqt4ClassPluginDef pyqt4ClassPluginDef |
| typedef struct _pyqt4QtSignal pyqt4QtSignal |
| typedef struct _pyqt5ClassPluginDef pyqt5ClassPluginDef |
| typedef struct _pyqt5QtSignal pyqt5QtSignal |
| typedef int sip_gilstate_t |
| typedef void*(* sipAccessFunc) (sipSimpleWrapper *, AccessFuncOp) |
| typedef struct _sipAPIDef sipAPIDef |
| typedef int(* sipAttrGetterFunc) (const sipTypeDef *, PyObject *) |
| typedef struct _sipBufferDef sipBufferDef |
| typedef struct _sipBufferInfoDef sipBufferInfoDef |
| typedef void*(* sipCastFunc) (void *, const sipTypeDef *) |
| typedef struct _sipCFunctionDef sipCFunctionDef |
| typedef struct _sipCharInstanceDef sipCharInstanceDef |
| typedef struct _sipClassTypeDef sipClassTypeDef |
| typedef void(* sipCollectingWrapperEventHandler) (sipSimpleWrapper *sipSelf) |
| typedef struct _sipContainerDef sipContainerDef |
| typedef int(* sipConvertToFunc) (PyObject *, void **, int *, PyObject *) |
| typedef struct _sipDateDef sipDateDef |
| typedef void(* sipDeallocFunc) (sipSimpleWrapper *) |
| typedef struct _sipDelayedDtor sipDelayedDtor |
| typedef struct _sipDoubleInstanceDef sipDoubleInstanceDef |
| typedef struct _sipEncodedTypeDef sipEncodedTypeDef |
| typedef struct _sipEnumMemberDef sipEnumMemberDef |
| typedef struct _sipEnumTypeDef sipEnumTypeDef |
| typedef struct _sipEnumTypeObject sipEnumTypeObject |
| typedef struct _sipExportedModuleDef sipExportedModuleDef |
| typedef struct _sipExternalTypeDef sipExternalTypeDef |
| typedef int(* sipFinalFunc) (PyObject *, void *, PyObject *, PyObject **) |
| typedef int(* sipGetBufferFunc) (PyObject *, void *, Py_buffer *, int) |
| typedef int(* sipGetBufferFuncLimited) (PyObject *, void *, sipBufferDef *) |
| typedef union _sipImportedExceptionDef sipImportedExceptionDef |
| typedef struct _sipImportedModuleDef sipImportedModuleDef |
| typedef union _sipImportedTypeDef sipImportedTypeDef |
| typedef struct _sipInitExtenderDef sipInitExtenderDef |
| typedef void*(* sipInitFunc) (sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **) |
| typedef struct _sipInstancesDef sipInstancesDef |
| typedef struct _sipIntInstanceDef sipIntInstanceDef |
| typedef struct _sipIntTypeClassMap sipIntTypeClassMap |
| typedef struct _sipLicenseDef sipLicenseDef |
| typedef struct _sipLongInstanceDef sipLongInstanceDef |
| typedef struct _sipLongLongInstanceDef sipLongLongInstanceDef |
| typedef sipTypeDef sipMappedType |
| typedef struct _sipMappedTypeDef sipMappedTypeDef |
| typedef struct _sipMethodDef sipMethodDef |
| typedef int(* sipNewUserTypeFunc) (sipWrapperType *) |
| typedef struct _sipPyMethod sipPyMethod |
| typedef struct _sipPySlotDef sipPySlotDef |
| typedef struct _sipPySlotExtenderDef sipPySlotExtenderDef |
| typedef void(* sipReleaseBufferFunc) (PyObject *, void *, Py_buffer *) |
| typedef void(* sipReleaseBufferFuncLimited) (PyObject *, void *) |
| typedef struct _sipSimpleWrapper sipSimpleWrapper |
| typedef struct _sipStringInstanceDef sipStringInstanceDef |
| typedef struct _sipStringTypeClassMap sipStringTypeClassMap |
| typedef const sipTypeDef*(* sipSubClassConvertFunc) (void **) |
| typedef struct _sipSubClassConvertorDef sipSubClassConvertorDef |
| typedef struct _sipTimeDef sipTimeDef |
| typedef struct _sipTypeDef sipTypeDef |
| typedef struct _sipTypedefDef sipTypedefDef |
| typedef struct _sipTypeInstanceDef sipTypeInstanceDef |
| typedef struct _sipUnsignedLongInstanceDef sipUnsignedLongInstanceDef |
| typedef struct _sipUnsignedLongLongInstanceDef sipUnsignedLongLongInstanceDef |
| typedef struct _sipVariableDef sipVariableDef |
| typedef PyObject*(* sipVariableGetterFunc) (void *, PyObject *, PyObject *) |
| typedef int(* sipVariableSetterFunc) (void *, PyObject *, PyObject *) |
| typedef struct _sipVersionedFunctionDef sipVersionedFunctionDef |
| typedef struct _sipVirtErrorHandlerDef sipVirtErrorHandlerDef |
| typedef void(* sipVirtErrorHandlerFunc) (sipSimpleWrapper *, sip_gilstate_t) |
| typedef int(* sipVirtHandlerFunc) (sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,...) |
| typedef struct _sipVoidPtrInstanceDef sipVoidPtrInstanceDef |
| typedef struct _sipWrapper sipWrapper |
| typedef struct _sipWrapperType sipWrapperType |
| typedef void(* sipWrapperVisitorFunc) (sipSimpleWrapper *, void *) |
| enum AccessFuncOp |
| enum sipErrorState |
| enum sipEventType |
| enum sipPySlotType |
| enum sipVariableType |
| const sipAPIDef* sip_init_library | ( | PyObject * | mod_dict | ) |