mirror of https://github.com/ecmwf/eccodes.git
ECC-528: Add wmo_read_any_from_stream_malloc()
This commit is contained in:
parent
c41e438dac
commit
20ab9ef325
|
@ -1213,6 +1213,7 @@ int wmo_read_any_from_stream(void* stream_data,long (*stream_proc)(void*,void* b
|
||||||
void* wmo_read_any_from_stream_malloc(void* stream_data,long (*stream_proc)(void*,void* buffer,long len) ,size_t *size, int* err)
|
void* wmo_read_any_from_stream_malloc(void* stream_data,long (*stream_proc)(void*,void* buffer,long len) ,size_t *size, int* err)
|
||||||
{
|
{
|
||||||
alloc_buffer u;
|
alloc_buffer u;
|
||||||
|
u.buffer = NULL;
|
||||||
|
|
||||||
stream_struct s;
|
stream_struct s;
|
||||||
reader r;
|
reader r;
|
||||||
|
|
Loading…
Reference in New Issue