Function panda_sys::object_property_get_enum[][src]

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

object_property_get_enum: @obj: the object @name: the name of the property @typename: the name of the enum data type @errp: returns an error if this function fails

Returns: the value of the property, converted to an integer, or undefined if an error occurs (including when the property value is not an enum).