diff options
Diffstat (limited to 'gdb/python/py-event.c')
-rw-r--r-- | gdb/python/py-event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/python/py-event.c b/gdb/python/py-event.c index 4789761..7c88fcd 100644 --- a/gdb/python/py-event.c +++ b/gdb/python/py-event.c @@ -48,7 +48,8 @@ create_event_object (PyTypeObject *py_type) /* Add the attribute ATTR to the event object EVENT. In python this attribute will be accessible by the name NAME. - returns 0 if the operation succeeds and -1 otherwise. */ + returns 0 if the operation succeeds and -1 otherwise. This + function acquires a new reference to ATTR. */ int evpy_add_attribute (PyObject *event, char *name, PyObject *attr) |