Skip to main content

ddwaf_object_set_unsigned

Function ddwaf_object_set_unsigned 

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

Creates an object using an unsigned integer (64-bit). The resulting object will contain an unsigned integer as opposed to a string.

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

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