diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-12 07:28:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-12 07:28:19 (GMT) |
commit | c7a14e50bd002e3922969e9bae7816753aefb073 (patch) | |
tree | cd098d2f92880705810dfdc353dad6ad1412b2c2 /src/format/dex/pool.c | |
parent | 4a51f37982c2d5d358971e947d05786b939af88e (diff) |
Reorganized types definitions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@267 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex/pool.c')
-rw-r--r-- | src/format/dex/pool.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/format/dex/pool.c b/src/format/dex/pool.c index d82144f..9237839 100644 --- a/src/format/dex/pool.c +++ b/src/format/dex/pool.c @@ -84,7 +84,7 @@ const char *get_string_from_dex_pool(const GDexFormat *format, uint32_t index) * * ******************************************************************************/ -GOpenidaType *get_type_from_dex_pool(const GDexFormat *format, uint16_t index) +GDataType *get_type_from_dex_pool(const GDexFormat *format, uint16_t index) { off_t pos; /* Tête de lecture */ type_id_item type_id; /* Définition de la classe */ @@ -141,9 +141,9 @@ GOpenidaType *get_type_from_dex_pool(const GDexFormat *format, uint16_t index) * * ******************************************************************************/ -GOpenidaType *get_class_from_dex_pool(const GDexFormat *format, uint32_t index) +GDataType *get_class_from_dex_pool(const GDexFormat *format, uint32_t index) { - GOpenidaType *result; /* Instance à retourner */ + GDataType *result; /* Instance à retourner */ off_t pos; /* Tête de lecture */ class_def_item class_def; /* Définition de la classe */ @@ -185,9 +185,9 @@ GBinVariable *get_field_from_dex_pool(const GDexFormat *format, uint32_t index) GBinVariable *result; /* Instance à retourner */ off_t pos; /* Tête de lecture */ field_id_item field_id; /* Description du champ */ - GOpenidaType *type; /* Type du champ */ + GDataType *type; /* Type du champ */ const char *name; /* Désignation humaine */ - GOpenidaType *owner; /* Propriétaire du champ */ + GDataType *owner; /* Propriétaire du champ */ if (index >= format->header.field_ids_size) return NULL; @@ -250,7 +250,7 @@ GBinRoutine *get_routine_from_dex_pool(const GDexFormat *format, uint32_t index) method_id_item meth_id; /* Description de la méthode */ - GOpenidaType *type; + GDataType *type; string_id_item str_id; /* Identifiant de chaîne */ string_data_item str_data; /* Description de chaîne */ @@ -281,7 +281,7 @@ GBinRoutine *get_routine_from_dex_pool(const GDexFormat *format, uint32_t index) printf("class is nil\n"); else - printf("class = '%s'\n", g_openida_type_to_string(type)); + printf("class = '%s'\n", g_data_type_to_string(type)); */ /* Nom de la méthode */ |