diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-10-27 22:54:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-10-27 22:54:30 (GMT) |
commit | ce27af7f442d1fa580311eac83bc44d7db4e0d05 (patch) | |
tree | 64a897f76e84ef401a0d5987eb56422e95606b09 /plugins/pychrysalide/arch/processor.h | |
parent | 7932fbf156fc357139638a342a46189450f7f484 (diff) |
Accepted integer values as usable addresses for some Python bindings.
Diffstat (limited to 'plugins/pychrysalide/arch/processor.h')
-rw-r--r-- | plugins/pychrysalide/arch/processor.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/pychrysalide/arch/processor.h b/plugins/pychrysalide/arch/processor.h index 2db8950..22331fc 100644 --- a/plugins/pychrysalide/arch/processor.h +++ b/plugins/pychrysalide/arch/processor.h @@ -30,6 +30,12 @@ #include <stdbool.h> +#include <arch/processor.h> + + + +/* ---------------------------- DEFINITION DE PROCESSEUR ---------------------------- */ + /* Fournit un accès à une définition de type à diffuser. */ PyTypeObject *get_python_arch_processor_type(void); @@ -39,4 +45,23 @@ bool ensure_python_arch_processor_is_registered(void); +/* ---------------------------- TRADUCTION D'EMPLACEMENT ---------------------------- */ + + +/* Informations utiles à une traduction */ +typedef struct _proc_cv_info_t +{ + GArchProcessor *proc; /* Eventuel processeur indiqué */ + vmpa2t *vmpa; /* Emplacement à définir */ + + vmpa2t tmp; /* Eventuel stockage temporaire*/ + +} proc_cv_info_t; + + +/* Réalise une conversion d'un objet Python en localisation. */ +int convert_to_vmpa_using_processor(PyObject *, proc_cv_info_t *); + + + #endif /* _PLUGINS_PYCHRYSALIDE_ARCH_PROCESSOR_H */ |