diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-05-12 22:09:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-05-12 22:09:53 (GMT) |
commit | 00e93226e72bdb18853580f553e32df111422936 (patch) | |
tree | 9c346903d4506cae2df19b9314cf307c783c0cb3 /src/core/processors.h | |
parent | e44ffc323c8a9d4b446baba6e0b131107312fa84 (diff) |
Simplified the way processors are registered.
Diffstat (limited to 'src/core/processors.h')
-rw-r--r-- | src/core/processors.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/processors.h b/src/core/processors.h index 975c716..034f219 100644 --- a/src/core/processors.h +++ b/src/core/processors.h @@ -36,16 +36,13 @@ void register_arch_gtypes(void); /* Enregistre un processeur pour une architecture donnée. */ -bool register_processor_type(const char *, const char *, GType); +bool register_processor_type(GType); /* 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_description(const char *); - /* Fournit le processeur d'architecture correspondant à un nom. */ -GArchProcessor *get_arch_processor_for_name(const char *); +GArchProcessor *get_arch_processor_for_key(const char *); |