asm_wa_priority_queue_clear.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/adt/wa_priority_queue/z80/asm_wa_priority_queue_clear.asm

; ===============================================================
; Feb 2014
; ===============================================================
; 
; void wa_priority_queue_clear(wa_priority_queue_t *q)
;
; Clear the queue to empty.
;
; ===============================================================

SECTION code_clib
SECTION code_adt_wa_priority_queue

PUBLIC asm_wa_priority_queue_clear

EXTERN l_zeroword_hl

defc asm_wa_priority_queue_clear = l_zeroword_hl - 4

   ; enter : hl = priority_queue *
   ;
   ; exit  : hl = & priority_queue.size
   ;
   ; uses  : hl
