diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-21 18:49:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-21 18:49:45 (GMT) |
commit | e10081897750e74dfd01266606870aab3638cfbf (patch) | |
tree | b9fbb90301a9ca443af82e3f9dd5e58f05dfbbe3 /src/core/processors.h | |
parent | 7c04cf1a2dcc9e04ce8f280f399d6904053e89d9 (diff) |
Provided a way to register new available processors from Python.
Diffstat (limited to 'src/core/processors.h')
-rw-r--r-- | src/core/processors.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/processors.h b/src/core/processors.h index f202114..975c716 100644 --- a/src/core/processors.h +++ b/src/core/processors.h @@ -38,17 +38,14 @@ void register_arch_gtypes(void); /* Enregistre un processeur pour une architecture donnée. */ bool register_processor_type(const char *, const char *, GType); -/* Charge les définitions de processeurs "natifs". */ -bool load_hard_coded_processors_definitions(void); - /* Décharge toutes les définitions de processeurs. */ void unload_processors_definitions(void); /* Fournit le nom humain de l'architecture visée. */ -const char *get_arch_processor_name(const char *); +const char *get_arch_processor_description(const char *); -/* Fournit le processeur d'architecture correspondant à un type. */ -GArchProcessor *get_arch_processor_for_type(const char *); +/* Fournit le processeur d'architecture correspondant à un nom. */ +GArchProcessor *get_arch_processor_for_name(const char *); |