summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/singleton.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-08-08 18:24:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-08 18:24:21 (GMT)
commitc0cc928bfab0af2cdbf16e9a04d41983f4732b93 (patch)
treeeb62ba48bae31886ddad2385c2ccfbc1e002ec6f /plugins/pychrysalide/glibext/singleton.c
parent1b7c29ed7dd9561a387be694f09c089e6126716c (diff)
Introduce singletons for operands.
Diffstat (limited to 'plugins/pychrysalide/glibext/singleton.c')
-rw-r--r--plugins/pychrysalide/glibext/singleton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/glibext/singleton.c b/plugins/pychrysalide/glibext/singleton.c
index c4592ac..d00648c 100644
--- a/plugins/pychrysalide/glibext/singleton.c
+++ b/plugins/pychrysalide/glibext/singleton.c
@@ -60,7 +60,7 @@ static gboolean py_singleton_candidate___eq__wrapper(const GSingletonCandidate *
static void py_singleton_candidate_set_ro_wrapper(GSingletonCandidate *);
/* Indique si le candidat est figé. */
-static bool py_singleton_candidate_is_ro_wrapper(GSingletonCandidate *);
+static bool py_singleton_candidate_is_ro_wrapper(const GSingletonCandidate *);
/* Fournit l'empreinte d'un candidat à une centralisation. */
static PyObject *py_singleton_candidate_hash(PyObject *, PyObject *);
@@ -499,7 +499,7 @@ static void py_singleton_candidate_set_ro_wrapper(GSingletonCandidate *candidate
* *
******************************************************************************/
-static bool py_singleton_candidate_is_ro_wrapper(GSingletonCandidate *candidate)
+static bool py_singleton_candidate_is_ro_wrapper(const GSingletonCandidate *candidate)
{
bool result; /* Etat à retourner */
PyGILState_STATE gstate; /* Sauvegarde d'environnement */