wv_priority_queue_push_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_ix/wv_priority_queue_push_callee.asm

; int wv_priority_queue_push_callee(wv_priority_queue_t *q, void *item)

SECTION code_clib
SECTION code_adt_wv_priority_queue

PUBLIC _wv_priority_queue_push_callee, l0_wv_priority_queue_push_callee

EXTERN asm_wv_priority_queue_push

_wv_priority_queue_push_callee:

   pop af
   pop hl
   pop bc
   push af

l0_wv_priority_queue_push_callee:

   push ix
   call asm_wv_priority_queue_push
   pop ix
   
   ret
