ddwaf_object_bool

Function ddwaf_object_bool 

Source
pub unsafe extern "C" fn ddwaf_object_bool(
    object: *mut ddwaf_object,
    value: bool,
) -> *mut ddwaf_object
Expand description

ddwaf_object_bool

Creates an object using a boolean, the resulting object will contain a boolean as opposed to a string.

@param object Object to perform the operation on. (nonnull) @param value Boolean to initialise the object with.

@return A pointer to the passed object or NULL if the operation failed.