From b8a1df1c116045fb372d4599c0f94945565daf6e Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Fri, 18 Oct 2024 10:59:09 +0200 Subject: [PATCH] rename aux_push_back to aux_enqueue --- src/interfaces/reader/eas3.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/interfaces/reader/eas3.c b/src/interfaces/reader/eas3.c index 4cdbc34..6457293 100644 --- a/src/interfaces/reader/eas3.c +++ b/src/interfaces/reader/eas3.c @@ -239,7 +239,7 @@ eas3_init_stream(uchar* memory, uint32 size, char instr) ! ! \*----------------------------------------------------------------------------------------------------------*/ -#define aux_push_back(aux, aux_pos, aux_len, chunck, chunck_len) \ +#define aux_enqueue(aux, aux_pos, aux_len, chunck, chunck_len) \ { \ if (aux_pos + chunck_len > aux_len) \ { \ @@ -583,8 +583,8 @@ read_eas3_header(FILE *const fp, eas3_data *const data) ! Emit the standard parameters to the auxiliary informa- ! ! tion information memory block. ! \*--------------------------------------------------------*/ - aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, - (uchar*)params, 176); + aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, + (uchar*)params, 176); /*--------------------------------------------------------*\ ! Convert the parameters required for the bwc compression ! @@ -648,8 +648,8 @@ read_eas3_header(FILE *const fp, eas3_data *const data) ! Emit the time step array to the auxiliary information ! ! memory block. ! \*--------------------------------------------------------*/ - aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char, - params->nts * sizeof(uint64)); + aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char, + params->nts * sizeof(uint64)); /*--------------------------------------------------------*\ ! Check if any attributes have been specified in the eas3 ! @@ -682,8 +682,8 @@ read_eas3_header(FILE *const fp, eas3_data *const data) ! Emit the timestep attribute array to the auxiliary infor-! ! mation memory block. ! \*--------------------------------------------------------*/ - aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char, - params->nts * ATTRLEN * sizeof(char)); + aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char, + params->nts * ATTRLEN * sizeof(char)); for(i = 0; i < params->npar; ++i) { @@ -754,8 +754,8 @@ read_eas3_header(FILE *const fp, eas3_data *const data) ! Emit the remaining header information the the auxiliary ! ! information stream. ! \*--------------------------------------------------------*/ - aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, - buffer_char, Lread); + aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, + buffer_char, Lread); /*--------------------------------------------------------*\ ! Free the buffer character array. !