All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual > 2 Objective-C Reference

objc-c++-bool FLI Type Descriptor

Summary

A foreign type corresponding to the C++ bool or the C99 _Bool type.

Package

objc

Syntax

objc-c++-bool

Description

The FLI type objc-c++-bool corresponds to the C++ bool or C99 _Bool types (the 'B' character in the type encoding defined by the Type Encodings section of Apple's Objective-C Runtime Programming Guide). Note that most boolean values are specified using the Objective-C BOOL type (objc-bool in LispWorks), so objc-c++-bool is not commonly used. However, on Macs based on Apple silicon, the Objective-C BOOL type is the C99 _Bool type, so you may see objc-c++-bool in error messages or foreign template definitions.

Notes

At the time of writing objc-c++-bool is an alias for the FLI type (:boolean :standard).

See also

objc-class-method-signature


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32