summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/bindings.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-01-13 07:34:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-01-13 07:34:49 (GMT)
commit59ab0336eaab192ca2f02b67d143a1ba4d1aac2b (patch)
tree824215b03d19bd8a188cc480b376d2ff882773eb /plugins/pychrysalide/bindings.h
parent71367e25e95b90b34891ec88083a52e0e0f60f13 (diff)
Handle load errors due to buggy Python plugins.
Diffstat (limited to 'plugins/pychrysalide/bindings.h')
-rw-r--r--plugins/pychrysalide/bindings.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/pychrysalide/bindings.h b/plugins/pychrysalide/bindings.h
index 1c63956..e9ee421 100644
--- a/plugins/pychrysalide/bindings.h
+++ b/plugins/pychrysalide/bindings.h
@@ -48,16 +48,15 @@ typedef struct _pyinit_details_t
{
bool standalone; /* Chargement depuis Python ? */
-
bool (* populate_extra) (void); /* Ajout de types ? */
-
} pyinit_details_t;
/* Implémente le point d'entrée pour l'initialisation de Python. */
PyObject *init_python_pychrysalide_module(const pyinit_details_t *);
-
+/* Présente dans le journal une exception survenue. */
+void log_pychrysalide_exception(const char *, ...);