bv_priority_queue_init.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_ix/bv_priority_queue_init.asm

; bv_priority_queue_t *
; bv_priority_queue_init(void *p, size_t capacity, size_t max_size, int (*compar)(const void *, const void *))

SECTION code_clib
SECTION code_adt_bv_priority_queue

PUBLIC _bv_priority_queue_init

EXTERN l0_bv_priority_queue_init_callee

_bv_priority_queue_init:

   pop af
   pop de
   pop bc
   pop hl
   exx
   pop bc
   
   push bc
   push hl
   push bc
   push de
   push af

   jp l0_bv_priority_queue_init_callee
