diff options
| author | Tom Tromey <tom@tromey.com> | 2025-11-02 10:41:21 -0700 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2025-12-18 11:50:08 -0700 |
| commit | b056a39914ed08da28f18f9b6eecf44447e069de (patch) | |
| tree | 385c7cc43b3d5ef20078d3d2dbf96e026a51c280 /gdb/python/python-internal.h | |
| parent | e3b02794ca17af6c12780ba32cb38c98e152a903 (diff) | |
| download | binutils-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.h | 2 |
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); |
