summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/core
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/core')
-rw-r--r--plugins/pychrysalide/core/queue.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/pychrysalide/core/queue.c b/plugins/pychrysalide/core/queue.c
index 9c1365a..8d530e6 100644
--- a/plugins/pychrysalide/core/queue.c
+++ b/plugins/pychrysalide/core/queue.c
@@ -79,7 +79,6 @@ bool populate_core_module_with_queue(void)
{
bool result; /* Bilan à retourner */
PyObject *module; /* Module à recompléter */
- int ret; /* Bilan d'un appel */
static PyMethodDef py_queue_methods[] = {
@@ -93,11 +92,8 @@ bool populate_core_module_with_queue(void)
module = get_access_to_python_module("pychrysalide.core");
- ret = PyModule_AddFunctions(module, py_queue_methods);
-
- result = (ret == 0);
+ result = register_python_module_methods(module, py_queue_methods);
return result;
}
-