diff options
author | Pedro Alves <palves@redhat.com> | 2013-05-22 09:31:44 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-05-22 09:31:44 +0000 |
commit | 5f9197eeaf0fa87eb98ac6ebaf88930f33821eab (patch) | |
tree | a0bf0dc2690e1917d5ab062e37a2a85b277358b7 /gdb/python/python-internal.h | |
parent | 61ce8822bafd4554dd911d8f58d7142f3839bb2b (diff) | |
download | gdb-5f9197eeaf0fa87eb98ac6ebaf88930f33821eab.tar.gz |
Let the ARI know gdb_Py_DECREF is OK.
The ARI complains with:
> gdb/python/python-internal.h:177: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/python/python-internal.h:177:gdb_Py_DECREF (void *op)
gdb_Py_DECREF is just wrapping a python macro that happens to be mixed case.
gdb/
2013-05-22 Pedro Alves <palves@redhat.com>
* python/python-internal.h (gdb_Py_DECREF): Tag with
"ARI: editCase function".
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r-- | gdb/python/python-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index b5c34b62dd6..f47d48a4195 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -174,7 +174,7 @@ typedef unsigned long gdb_py_ulongest; Wrap it ourselves, so that callers don't need to care. */ static inline void -gdb_Py_DECREF (void *op) +gdb_Py_DECREF (void *op) /* ARI: editCase function */ { Py_DECREF (op); } |