heap_info_unlocked_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_ix/heap_info_unlocked_callee.asm

; void heap_info_unlocked_callee(void *heap, void *callback)

SECTION code_clib
SECTION code_alloc_malloc

PUBLIC _heap_info_unlocked_callee, l0_heap_info_unlocked_callee

EXTERN asm_heap_info_unlocked

_heap_info_unlocked_callee:

   pop af
   pop de
   pop bc
   push af

l0_heap_info_unlocked_callee:

   push bc
   ex (sp),ix
   
   call asm_heap_info_unlocked
   
   pop ix
   ret
