diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-20 22:03:47 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:45 -0700 |
commit | 40b77bd0fd2b34d19803609d7c07bf3d6bf50a1b (patch) | |
tree | 1b3d0a49ced83eee832bf85f58b3e14dcec6e9ff /loaders/python/peas-python-internal.c | |
parent | 1b3740a242ed7e7ab2c4940b1d8751d7f2e18bf8 (diff) | |
download | libpeas-40b77bd0fd2b34d19803609d7c07bf3d6bf50a1b.tar.gz |
janitorial: use char and int over gchar and gint
Diffstat (limited to 'loaders/python/peas-python-internal.c')
-rw-r--r-- | loaders/python/peas-python-internal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/loaders/python/peas-python-internal.c b/loaders/python/peas-python-internal.c index 9ab55d7..22fd93a 100644 --- a/loaders/python/peas-python-internal.c +++ b/loaders/python/peas-python-internal.c @@ -37,8 +37,8 @@ static PyObject * failed_fn (PyObject *self, PyObject *args) { - const gchar *msg; - gchar *clean_msg; + const char *msg; + char *clean_msg; if (!PyArg_ParseTuple (args, "s:Hooks.failed", &msg)) return NULL; @@ -63,7 +63,7 @@ static PyMethodDef failed_method_def = { gboolean peas_python_internal_setup (gboolean already_initialized) { - const gchar *prgname; + const char *prgname; GBytes *internal_python = NULL; PyObject *builtins_module, *globals, *result; PyObject *code = NULL, *failed_method = NULL; @@ -185,9 +185,9 @@ peas_python_internal_shutdown (void) } PyObject * -peas_python_internal_call (const gchar *name, +peas_python_internal_call (const char *name, PyTypeObject *return_type, - const gchar *format, + const char *format, ...) { PyObject *args; |