summaryrefslogtreecommitdiff
path: root/src/arch/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/storage.c')
-rw-r--r--src/arch/storage.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/arch/storage.c b/src/arch/storage.c
index 269228c..41fa602 100644
--- a/src/arch/storage.c
+++ b/src/arch/storage.c
@@ -394,7 +394,7 @@ static void g_ins_caching_process(GInsCaching *caching, GtkStatusStack *status)
static void g_ins_caching_process_load(GInsCaching *caching, GtkStatusStack *status)
{
GAsmStorage *storage; /* Cache de destinartion */
- packed_buffer pbuf; /* Tampon des données à écrire */
+ packed_buffer_t pbuf; /* Tampon des données à écrire */
off64_t i; /* Boucle de parcours */
off64_t pos; /* Position courante */
GArchInstruction *instr; /* Instruction à traiter */
@@ -459,7 +459,7 @@ static void g_ins_caching_process_store(GInsCaching *caching, GtkStatusStack *st
{
GArchProcessor *proc; /* Ensemble à traiter */
GAsmStorage *storage; /* Cache de destinartion */
- packed_buffer pbuf; /* Tampon des données à écrire */
+ packed_buffer_t pbuf; /* Tampon des données à écrire */
size_t count; /* Quantité d'instructions */
phys_t last_phys; /* Dernière position physique */
size_t i; /* Boucle de parcours #1 */
@@ -1007,7 +1007,7 @@ static bool g_asm_storage_compress(const GAsmStorage *storage)
static bool g_asm_storage_read_types(GAsmStorage *storage)
{
bool result; /* Bilan à enregistrer */
- packed_buffer pbuf; /* Tampon des données à lire */
+ packed_buffer_t pbuf; /* Tampon des données à lire */
size_t i; /* Boucle de parcours */
unsigned char len; /* Taille d'un nom de type */
char *name; /* Désignation d'un type */
@@ -1078,7 +1078,7 @@ static bool g_asm_storage_read_types(GAsmStorage *storage)
* *
******************************************************************************/
-GObject *g_asm_storage_create_object(GAsmStorage *storage, packed_buffer *pbuf)
+GObject *g_asm_storage_create_object(GAsmStorage *storage, packed_buffer_t *pbuf)
{
GObject *result; /* Nouvelle instance à renvoyer*/
size_t index; /* Indice du point d'insertion */
@@ -1118,7 +1118,7 @@ GObject *g_asm_storage_create_object(GAsmStorage *storage, packed_buffer *pbuf)
* *
******************************************************************************/
-bool g_asm_storage_store_object_gtype(GAsmStorage *storage, GObject *obj, packed_buffer *pbuf)
+bool g_asm_storage_store_object_gtype(GAsmStorage *storage, GObject *obj, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
GType gtype; /* Type à enregistrer */
@@ -1184,7 +1184,7 @@ bool g_asm_storage_store_object_gtype(GAsmStorage *storage, GObject *obj, packed
static bool g_asm_storage_write_types(GAsmStorage *storage)
{
bool result; /* Bilan à enregistrer */
- packed_buffer pbuf; /* Tampon des données à écrire */
+ packed_buffer_t pbuf; /* Tampon des données à écrire */
size_t i; /* Boucle de parcours */
const gchar *name; /* Désignation d'un type */
size_t len; /* Taille de ce nom */
@@ -1241,7 +1241,7 @@ static bool g_asm_storage_write_types(GAsmStorage *storage)
* *
******************************************************************************/
-bool _g_asm_storage_load_data(const GAsmStorage *storage, StorageFileType type, packed_buffer *pbuf, off64_t pos)
+bool _g_asm_storage_load_data(const GAsmStorage *storage, StorageFileType type, packed_buffer_t *pbuf, off64_t pos)
{
bool result; /* Bilan à retourner */
int fd; /* Flux ciblé */
@@ -1302,7 +1302,7 @@ bool _g_asm_storage_load_data(const GAsmStorage *storage, StorageFileType type,
* *
******************************************************************************/
-bool _g_asm_storage_store_data(const GAsmStorage *storage, StorageFileType type, packed_buffer *pbuf, off64_t *pos)
+bool _g_asm_storage_store_data(const GAsmStorage *storage, StorageFileType type, packed_buffer_t *pbuf, off64_t *pos)
{
bool result; /* Bilan à retourner */
int fd; /* Flux ciblé */
@@ -1517,7 +1517,7 @@ bool g_asm_storage_open(GAsmStorage *storage, GBinFormat *format, wgroup_id_t gi
* *
******************************************************************************/
-GArchInstruction *g_asm_storage_get_instruction_at(GAsmStorage *storage, GBinFormat *format, off64_t index, packed_buffer *pbuf)
+GArchInstruction *g_asm_storage_get_instruction_at(GAsmStorage *storage, GBinFormat *format, off64_t index, packed_buffer_t *pbuf)
{
GArchInstruction *result; /* Instruction à renvoyer */
off64_t pos; /* Position dans le cache */