os-event-unity.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #include "os-event.h"
  2. #if defined(PLATFORM_UNITY) && defined(UNITY_USE_PLATFORM_STUBS)
  3. void
  4. mono_os_event_init (MonoOSEvent *event, gboolean initial)
  5. {
  6. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  7. }
  8. void
  9. mono_os_event_destroy (MonoOSEvent *event)
  10. {
  11. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  12. }
  13. void
  14. mono_os_event_set (MonoOSEvent *event)
  15. {
  16. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  17. }
  18. void
  19. mono_os_event_reset (MonoOSEvent *event)
  20. {
  21. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  22. }
  23. MonoOSEventWaitRet
  24. mono_os_event_wait_one (MonoOSEvent *event, guint32 timeout, gboolean alertable)
  25. {
  26. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  27. return MONO_OS_EVENT_WAIT_RET_TIMEOUT;
  28. }
  29. MonoOSEventWaitRet
  30. mono_os_event_wait_multiple (MonoOSEvent **events, gsize nevents, gboolean waitall, guint32 timeout, gboolean alertable)
  31. {
  32. g_assert(0 && "This function is not yet implemented for the Unity platform.");
  33. return MONO_OS_EVENT_WAIT_RET_TIMEOUT;
  34. }
  35. #endif /* PLATFORM_UNITY && UNITY_USE_PLATFORM_STUBS */