Objective-C function calls can be accessed via C functions like objc_msgSend, enabling Pure-C projects to utilize the Cocoa API without writing Objective-C code.
Silicon.h provides a C-Wrapper for the Cocoa API, facilitating the use of Cocoa functionality in standard C code, while RGFW offers a lightweight single-header windowing library.
When using objc_msgsend in Pure C, specific function variants like objc_msgsend_fpret and objc_msgsend_fstret are required for different return types on x86_64 CPUs.
RGFW simplifies type-casting for objc_msgSend with defined macros, allowing for cleaner interaction with Cocoa API by specifying expected argument and return types.
Collection
[
|
...
]