[][src]Type Definition lilv_sys::LilvGetPortValueFunc

type LilvGetPortValueFunc = Option<unsafe extern "C" fn(port_symbol: *const c_char, user_data: *mut c_void, size: *mut u32, type_: *mut u32) -> *const c_void>;

Function to get a port value. @param port_symbol The symbol of the port. @param user_data The user_data passed to lilv_state_new_from_instance(). @param size (Output) The size of the returned value. @param type (Output) The URID of the type of the returned value. @return A pointer to the port value.

This function MUST set size and type appropriately.