call_once.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/threads/mutex/c/sccz80/call_once.asm

; void call_once(once_flag *flag, void (*func)(void))

SECTION code_clib
SECTION code_threads_mutex

PUBLIC call_once

EXTERN asm_call_once

call_once:

   pop af
   pop de
   pop hl
   
   push hl
   push de
   push af
   
   jp asm_call_once
