aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-11-02 10:41:21 -0700
committerTom Tromey <tom@tromey.com>2025-12-18 11:50:08 -0700
commitb056a39914ed08da28f18f9b6eecf44447e069de (patch)
tree385c7cc43b3d5ef20078d3d2dbf96e026a51c280 /gdb/python/python-internal.h
parente3b02794ca17af6c12780ba32cb38c98e152a903 (diff)
downloadbinutils-b056a39914ed08da28f18f9b6eecf44447e069de.tar.gz
binutils-b056a39914ed08da28f18f9b6eecf44447e069de.tar.bz2
binutils-b056a39914ed08da28f18f9b6eecf44447e069de.zip
Don't use "module" name
In C++20, "module" is an "identifier with special meaning". While it can be used as a variable name, it highlights as a keyword in Emacs, and I think it's nicer to just avoid it. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32660
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index 502f66c5682..9a43cfae00a 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -991,7 +991,7 @@ int gdb_py_int_as_long (PyObject *, long *);
PyObject *gdb_py_generic_dict (PyObject *self, void *closure);
-int gdb_pymodule_addobject (PyObject *module, const char *name,
+int gdb_pymodule_addobject (PyObject *mod, const char *name,
PyObject *object);