ui/cocoa/toolkit.h

changeset 868
be3df094f8db
parent 864
d39301e8f962
--- a/ui/cocoa/toolkit.h	Mon Oct 20 21:16:53 2025 +0200
+++ b/ui/cocoa/toolkit.h	Tue Oct 21 12:27:20 2025 +0200
@@ -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;
 

mercurial