All pastes #572172 Raw Edit

gjc

public text v1 · immutable
·published 2007-06-17 16:00 UTC
rendered paste body
Index: pygobject.h===================================================================--- pygobject.h	(revision 676)+++ pygobject.h	(working copy)@@ -25,6 +25,10 @@     PyClosureExceptionHandler exception_handler; }; +typedef enum {+    PYGOBJECT_USING_TOGGLE_REF = 1 << 0+} PyGObjectFlags;+   /* closures is just an alias for what is found in the    * PyGObjectData */ typedef struct {@@ -33,6 +37,9 @@     PyObject *inst_dict; /* the instance dictionary -- must be last */     PyObject *weakreflist; /* list of weak references */     GSList *closures;           /* stale field; no longer updated DO-NOT-USE! */++      /*< private >*/+    PyGObjectFlags flags; } PyGObject;  #define pygobject_get(v) (((PyGObject *)(v))->obj)