open_memstream_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/open_memstream_callee.asm

; FILE *open_memstream_callee(char **bufp, size_t *sizep)

SECTION code_clib
SECTION code_stdio

PUBLIC _open_memstream_callee, l0_open_memstream_callee

EXTERN asm_open_memstream

_open_memstream_callee:

   pop hl
   pop de
   ex (sp),hl

l0_open_memstream_callee:

   push ix
   
   call asm_open_memstream
   
   pop ix
   ret
