--- a/ui/cocoa/toolkit.h Sun Oct 19 21:20:08 2025 +0200 +++ b/ui/cocoa/toolkit.h Mon Nov 10 21:52:51 2025 +0100 @@ -31,10 +31,10 @@ #include "../common/context.h" #include "../common/object.h" -@interface UiAppCallback : NSObject { - ui_threadfunc callback; - void *userdata; -} +@interface UiAppCallback : NSObject + +@property ui_threadfunc callback; +@property void *userdata; - (id) initWithCallback:(ui_threadfunc)func userdata:(void*)userdata;