summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/helpers.c')
-rw-r--r--plugins/pychrysalide/helpers.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/pychrysalide/helpers.c b/plugins/pychrysalide/helpers.c
index 73fb4a7..5c7ae75 100644
--- a/plugins/pychrysalide/helpers.c
+++ b/plugins/pychrysalide/helpers.c
@@ -619,6 +619,31 @@ PyObject *not_yet_implemented_method(PyObject *self, PyObject *args)
/******************************************************************************
* *
+* Paramètres : self = objet quelconque. *
+* args = arguments fournis à l'appel. *
+* *
+* Description : Retourne toujours rien. *
+* *
+* Retour : None. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+PyObject *py_return_none(PyObject *self, PyObject *args)
+{
+ PyObject *result; /* Bilan à retourner */
+
+ result = Py_None;
+ Py_INCREF(result);
+
+ return result;
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : spec = définition à mettre en place dynamiquement. *
* *
* Description : Définit dans le tas de Python un nouveau type. *