b_array_append_block_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_append_block_callee.asm

; void *b_array_append_block(b_array_t *a, size_t n)

SECTION code_clib
SECTION code_adt_b_array

PUBLIC b_array_append_block_callee
PUBLIC b_array_append_block_entry

EXTERN error_zc, asm_b_array_append_block

b_array_append_block_callee:

   pop hl
   pop de
   ex (sp),hl

b_array_append_block_entry:

   call asm_b_array_append_block
   ret nc
   
   jp error_zc
