diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-12 17:00:18 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-12 17:00:18 (GMT) |
commit | edcd7a2e2919ea880f8aaf649cf7ed8f1eabac1a (patch) | |
tree | 22ff6b77802aa9ebb9af3243313fb806071cc44e /plugins/pychrysalide/core | |
parent | 5c656e5bd946498400f44d696e81175437a7e9eb (diff) |
Added Python module functions in the features namespace.
Diffstat (limited to 'plugins/pychrysalide/core')
-rw-r--r-- | plugins/pychrysalide/core/queue.c | 6 |
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; } - |