rename aux_push_back to aux_enqueue
This commit is contained in:
parent
1175e8b71f
commit
b8a1df1c11
1 changed files with 9 additions and 9 deletions
|
@ -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. !
|
||||
|
|
Loading…
Reference in a new issue