adt_ListSetCurrAfter.asm
bitfixer_bitfixer/dg/z88dk/libsrc/adt/linkedlist/adt_ListSetCurrAfter.asm
; void __FASTCALL__ adt_ListSetCurrAfter(struct adt_List *list)
; 11.2006 aralbrec

PUBLIC adt_ListSetCurrAfter
EXTERN l_setmem

; enter: hl = struct adt_List*

.adt_ListSetCurrAfter

   inc hl
   inc hl
   ld (hl),2               ; indicate current pointer points after end of list
   inc hl
   xor a
   jp l_setmem-3           ; current ptr = 0
