INNER CODE UNIT · Rust

as_raw

denialwm/denial · compositor/flutter-engine/src/lib.rs:468

    pub fn as_raw(&self) -> sys::FlutterEngineAOTData {
        self.data
    }
}

impl Drop for AotData {
    fn drop(&mut self) {
        if self.data.is_null() {
            return;
        }
        let function = self
            .library
            .table
            .CollectAOTData
            .expect("validated Flutter proc table");
        // SAFETY: this handle was returned by CreateAOTData from the same
        // loaded engine and is collected exactly once here.
        let _ = unsafe { function(self.data) };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…