This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMIT PATCH] Let the ARI know gdb_Py_DECREF is OK.
- From: Pedro Alves <alves dot ped at gmail dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 May 2013 10:34:25 +0100
- Subject: [COMMIT PATCH] Let the ARI know gdb_Py_DECREF is OK.
- References: <20130522015106 dot GA6058 at sourceware dot org>
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".
---
gdb/python/python-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index b5c34b6..f47d48a 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);
}