gioui.org@v0.6.1-0.20240506124620-7a9ce51988ce/app/os_darwin.m (about)

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  #import <Foundation/Foundation.h>
     4  
     5  #include "_cgo_export.h"
     6  
     7  void gio_wakeupMainThread(void) {
     8  	dispatch_async(dispatch_get_main_queue(), ^{
     9  		gio_dispatchMainFuncs();
    10  	});
    11  }