diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index cee3a0d..d35d09a 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -51,7 +51,8 @@ typedef struct int nthreads; } inferior_object; -static PyTypeObject inferior_object_type; +static PyTypeObject inferior_object_type + CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("inferior_object"); static const struct inferior_data *infpy_inf_data_key; @@ -64,7 +65,8 @@ typedef struct { CORE_ADDR length; } membuf_object; -static PyTypeObject membuf_object_type; +static PyTypeObject membuf_object_type + CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("membuf_object"); /* Require that INFERIOR be a valid inferior ID. */ #define INFPY_REQUIRE_VALID(Inferior) \ |