libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_new_bool()

PLIST_API plist_t plist_new_bool ( uint8_t  val)

Create a new plist_t type PLIST_BOOLEAN.

Parameters
valthe boolean value, 0 is false, other values are true.
Returns
the created item
See also
plist_type