diff options
Diffstat (limited to 'plugins/pychrysalide/helpers.h')
-rw-r--r-- | plugins/pychrysalide/helpers.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h index 522986f..226071c 100644 --- a/plugins/pychrysalide/helpers.h +++ b/plugins/pychrysalide/helpers.h @@ -47,19 +47,6 @@ bool has_python_method(PyObject *, const char *); /* Appelle une routine Python. */ PyObject *run_python_method(PyObject *, const char *, PyObject *); -/* Ajoute une constante au dictionnaire d'un type Python donné. */ -bool PyDict_AddULongConstant(PyObject *, const char *, unsigned long); - -/* Ajoute une constante au dictionnaire d'un type Python donné. */ -bool PyDict_AddStringConstant(PyObject *, const char *, const char *); - - -#define PyDict_AddULongMacro(tp, c) PyDict_AddULongConstant(tp->tp_dict, #c, c) -#define PyDict_AddStringMacro(tp, c) PyDict_AddStringConstant(tp->tp_dict, #c, c) - -#define PyModDict_AddULongMacro(d, c) PyDict_AddULongConstant(d, #c, c) -#define PyModDict_AddStringMacro(d, c) PyDict_AddStringConstant(d, #c, c) - /* ---------------------------- MISE EN PLACE DE MODULES ---------------------------- */ |