pub unsafe extern "C" fn ddwaf_object_stringl(
object: *mut ddwaf_object,
string: *const c_char,
length: usize,
) -> *mut ddwaf_object
Expand description
ddwaf_object_stringl
Creates an object from a string and its length.
@param object Object to perform the operation on. (nonnull) @param string String to initialise the object with, this string will be copied. (nonnull) @param length Length of the string.
@return A pointer to the passed object or NULL if the operation failed.