SCIMBridge  0.4.x
size_t scim_bridge_string_from_boolean ( char **  str,
boolean  value 
)

Translate a boolean into a string.

Parameters
valueThe value to translate.
strThe destination pointer for the new string.
Returns
The length of the new string if succeeded, otherwise it returns -1.

Referenced by ScimBridgeAgentClientListenerImpl::imengine_status_changed(), and ScimBridgeAgentClientListenerImpl::set_preedit_shown().