Function panda_sys::object_property_get_str[][src]

pub unsafe extern "C" fn object_property_get_str(
    obj: *mut Object,
    name: *const c_char,
    errp: *mut *mut Error
) -> *mut c_char
Expand description

object_property_get_str: @obj: the object @name: the name of the property @errp: returns an error if this function fails

Returns: the value of the property, converted to a C string, or NULL if an error occurs (including when the property value is not a string). The caller should free the string.