iterate-ch / rococoa

Rococoa allows you to call Objective-C code through Java classes and interfaces that you define.
GNU Lesser General Public License v3.0
73 stars 18 forks source link

Missing usage of objc_msgSend_fpret #23

Open dkocher opened 3 years ago

dkocher commented 3 years ago

https://developer.apple.com/documentation/objectivec/1456697-objc_msgsend_fpret

On the i386 platform, the ABI for functions returning a floating-point value is incompatible with that for functions returning an integral type. On the i386 platform, therefore, you must use objc_msgSend_fpret for functions that for functions returning non-integral type. For float or long double return types, cast the function to an appropriate function pointer type first. This function is not used on the PPC or PPC64 platforms.

dkocher commented 3 years ago

Does not look like we will ever need to implement this as i386 is almost nowhere supported anymore.