rococoa icon indicating copy to clipboard operation
rococoa copied to clipboard

Missing usage of objc_msgSend_fpret

Open dkocher opened this issue 4 years ago • 1 comments

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 avatar Nov 04 '21 10:11 dkocher

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

dkocher avatar Nov 04 '21 10:11 dkocher