[fpc-devel] OSX: Setting up parameters to objc_msgSend()

Dmitry Boyarintsev skalogryz.lists at gmail.com
Fri Oct 12 02:07:04 CEST 2018

On Thu, Oct 11, 2018 at 4:16 PM Jonas Maebe <jonas at freepascal.org> wrote:

> However, the Objective-C BOOL type does not map to _Bool on x86-64, but
> to signed char. And values of that type indeed do need to (sign)
> extended.

Should use of ByteBool resolve the problems for ObjC mapped headers for the
current version of the compiler?
is "ByteBool" an alias for Boolean, or is it forcefully "char" sized for
x86_64 ABI?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181011/e15a1433/attachment.html>

More information about the fpc-devel mailing list