summaryrefslogtreecommitdiffstats
path: root/siplib/sip.h
diff options
context:
space:
mode:
Diffstat (limited to 'siplib/sip.h')
-rw-r--r--siplib/sip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/siplib/sip.h b/siplib/sip.h
index 48180a3..2f036bd 100644
--- a/siplib/sip.h
+++ b/siplib/sip.h
@@ -1432,6 +1432,7 @@ typedef struct _sipTQtAPI {
#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_CREATED 0x1000 /* If the C/C++ object has been created. */
#define sipIsPyOwned(w) ((w)->flags & SIP_PY_OWNED)
#define sipSetPyOwned(w) ((w)->flags |= SIP_PY_OWNED)
@@ -1446,6 +1447,7 @@ typedef struct _sipTQtAPI {
#define sipResetCppHasRef(w) ((w)->flags &= ~SIP_CPP_HAS_REF)
#define sipPossibleProxy(w) ((w)->flags & SIP_POSSIBLE_PROXY)
#define sipSetPossibleProxy(w) ((w)->flags |= SIP_POSSIBLE_PROXY)
+#define sipWasCreated(sw) ((sw)->flags & SIP_CREATED)
#define SIP_TYPE_TYPE_MASK 0x0007 /* The type type mask. */