asm_ba_priority_queue_data.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_data.asm

; ===============================================================
; Mar 2014
; ===============================================================
; 
; void *ba_priority_queue_data(ba_priority_queue_t *q)
;
; Return the address of the queue's data, could be 0.
;
; ===============================================================

SECTION code_clib
SECTION code_adt_ba_priority_queue

PUBLIC asm_ba_priority_queue_data

EXTERN l_readword_hl

defc asm_ba_priority_queue_data = l_readword_hl - 2

   ; enter : hl = priority_queue *
   ;
   ; exit  : hl = priority_queue.data
   ;
   ; uses  : a, hl
