You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, accesskit.h includes some Obj-C headers when it is used on macOS, therefore it is usable only from the Obj-C/Obj-C++ source, but not from pure C/C++.
Splitting platform specific adapter bindings to the separate file would allow using platform independent part of the code from C/C++.
Or alternatively, since no Obj-C specific stuff is really used in the binding, it might be worth getting rid of the Obj-C includes, by replacing NSObject * with void * (already done with NSView * for subclassing adapter) and CGPoint with two floats.
The text was updated successfully, but these errors were encountered:
Currently,
accesskit.h
includes some Obj-C headers when it is used on macOS, therefore it is usable only from the Obj-C/Obj-C++ source, but not from pure C/C++.Splitting platform specific adapter bindings to the separate file would allow using platform independent part of the code from C/C++.
Or alternatively, since no Obj-C specific stuff is really used in the binding, it might be worth getting rid of the Obj-C includes, by replacing
NSObject *
withvoid *
(already done withNSView *
for subclassing adapter) andCGPoint
with two floats.The text was updated successfully, but these errors were encountered: