unsafe extern "C" fn stream_renderer_resource_map( res_handle: u32, map: *mut *mut c_void, out_size: *mut u64 ) -> c_int