Xamarin Public Jenkins (auto-signing) 966bba02bb Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
2017-06-07 13:16:24 +00:00

21 lines
347 B
C

/**
* \file
*/
#ifndef __MONO_ONCE_H__
#define __MONO_ONCE_H__
#include "mono-lazy-init.h"
typedef mono_lazy_init_t mono_once_t;
#define MONO_ONCE_INIT MONO_LAZY_INIT_STATUS_NOT_INITIALIZED
static inline void
mono_once (mono_once_t *once, void (*once_init) (void))
{
mono_lazy_initialize (once, once_init);
}
#endif /* __MONO_ONCE_H__ */