summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/helpers.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-12-11 14:36:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-12-11 14:36:09 (GMT)
commit4b5cf2c57553eaeb647090ba8d0ad862c46e6733 (patch)
treee52755b6cd408fb2f750364b01cf5c4560ff795c /plugins/pychrysalide/helpers.h
parent57e3511bbc5fce4eedfad7b57e775338b3eed56a (diff)
Deleted the PyConstvalObject class from the Python API.
Diffstat (limited to 'plugins/pychrysalide/helpers.h')
-rw-r--r--plugins/pychrysalide/helpers.h13
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 ---------------------------- */