feat/api #46
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) \
|
if (aux_pos + chunck_len > aux_len) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -583,7 +583,7 @@ read_eas3_header(FILE *const fp, eas3_data *const data)
|
||||||
! Emit the standard parameters to the auxiliary informa- !
|
! Emit the standard parameters to the auxiliary informa- !
|
||||||
! tion information memory block. !
|
! tion information memory block. !
|
||||||
\*--------------------------------------------------------*/
|
\*--------------------------------------------------------*/
|
||||||
aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len,
|
aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len,
|
||||||
(uchar*)params, 176);
|
(uchar*)params, 176);
|
||||||
|
|
||||||
/*--------------------------------------------------------*\
|
/*--------------------------------------------------------*\
|
||||||
|
@ -648,7 +648,7 @@ read_eas3_header(FILE *const fp, eas3_data *const data)
|
||||||
! Emit the time step array to the auxiliary information !
|
! Emit the time step array to the auxiliary information !
|
||||||
! memory block. !
|
! memory block. !
|
||||||
\*--------------------------------------------------------*/
|
\*--------------------------------------------------------*/
|
||||||
aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char,
|
aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char,
|
||||||
params->nts * sizeof(uint64));
|
params->nts * sizeof(uint64));
|
||||||
|
|
||||||
/*--------------------------------------------------------*\
|
/*--------------------------------------------------------*\
|
||||||
|
@ -682,7 +682,7 @@ read_eas3_header(FILE *const fp, eas3_data *const data)
|
||||||
! Emit the timestep attribute array to the auxiliary infor-!
|
! Emit the timestep attribute array to the auxiliary infor-!
|
||||||
! mation memory block. !
|
! mation memory block. !
|
||||||
\*--------------------------------------------------------*/
|
\*--------------------------------------------------------*/
|
||||||
aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char,
|
aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len, buffer_char,
|
||||||
params->nts * ATTRLEN * sizeof(char));
|
params->nts * ATTRLEN * sizeof(char));
|
||||||
|
|
||||||
for(i = 0; i < params->npar; ++i)
|
for(i = 0; i < params->npar; ++i)
|
||||||
|
@ -754,7 +754,7 @@ read_eas3_header(FILE *const fp, eas3_data *const data)
|
||||||
! Emit the remaining header information the the auxiliary !
|
! Emit the remaining header information the the auxiliary !
|
||||||
! information stream. !
|
! information stream. !
|
||||||
\*--------------------------------------------------------*/
|
\*--------------------------------------------------------*/
|
||||||
aux_push_back(data->uchar_aux, data->aux_pos, data->aux_len,
|
aux_enqueue(data->uchar_aux, data->aux_pos, data->aux_len,
|
||||||
buffer_char, Lread);
|
buffer_char, Lread);
|
||||||
|
|
||||||
/*--------------------------------------------------------*\
|
/*--------------------------------------------------------*\
|
||||||
|
|
Loading…
Reference in a new issue