INNER CODE UNIT · Rust

runs_aot_compiled_dart_code

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

    pub fn runs_aot_compiled_dart_code(&self) -> bool {
        let function = self
            .table
            .RunsAOTCompiledDartCode
            .expect("validated Flutter proc table");
        // SAFETY: the copied pointer remains valid while `_library` is owned.
        unsafe { function() }
    }

    pub fn proc_table(&self) -> &sys::FlutterEngineProcTable {
        &self.table
    }

    pub fn create_aot_data(
        self: &Arc<Self>,
        elf: impl AsRef<Path>,
    ) -> Result<AotData, EngineError> {
        let elf = elf.as_ref();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…