Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing usage of objc_msgSend_fpret #23

Open
dkocher opened this issue Nov 4, 2021 · 1 comment
Open

Missing usage of objc_msgSend_fpret #23

dkocher opened this issue Nov 4, 2021 · 1 comment

Comments

@dkocher
Copy link
Contributor

dkocher commented Nov 4, 2021

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
Copy link
Contributor Author

dkocher commented Nov 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant