5 #ifndef __MONO_ONCE_H__
6 #define __MONO_ONCE_H__
8 #include "mono-lazy-init.h"
10 typedef mono_lazy_init_t mono_once_t
;
12 #define MONO_ONCE_INIT MONO_LAZY_INIT_STATUS_NOT_INITIALIZED
15 mono_once (mono_once_t
*once
, void (*once_init
) (void))
17 mono_lazy_initialize (once
, once_init
);
20 #endif /* __MONO_ONCE_H__ */