diff options
Diffstat (limited to 'plugins/pychrysalide/format/executable.h')
-rw-r--r-- | plugins/pychrysalide/format/executable.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/pychrysalide/format/executable.h b/plugins/pychrysalide/format/executable.h index 8a952cd..d2308e0 100644 --- a/plugins/pychrysalide/format/executable.h +++ b/plugins/pychrysalide/format/executable.h @@ -30,6 +30,12 @@ #include <stdbool.h> +#include <format/executable.h> + + + +/* ------------------------ DECLARATION DE FORMAT EXECUTABLE ------------------------ */ + /* Fournit un accès à une définition de type à diffuser. */ PyTypeObject *get_python_executable_format_type(void); @@ -39,4 +45,23 @@ bool ensure_python_executable_format_is_registered(void); +/* ---------------------------- TRADUCTION D'EMPLACEMENT ---------------------------- */ + + +/* Informations utiles à une traduction */ +typedef struct _exe_cv_info_t +{ + GExeFormat *format; /* Eventuel format indiqué */ + vmpa2t *vmpa; /* Emplacement à définir */ + + vmpa2t tmp; /* Eventuel stockage temporaire*/ + +} exe_cv_info_t; + + +/* Réalise une conversion d'un objet Python en localisation. */ +int convert_to_vmpa_using_executable(PyObject *, exe_cv_info_t *); + + + #endif /* _PLUGINS_PYCHRYSALIDE_FORMAT_EXECUTABLE_H */ |