pub fn export(export_map: &ScExportMap) {
        export_name(-1, "WASM::RUST");

        for i in 0..export_map.funcs.len() {
            export_name(i as i32, export_map.names[i]);
        }

        let offset = export_map.funcs.len();
        for i in 0..export_map.views.len() {
            export_name(i as i32 | 0x8000, export_map.names[offset + i]);
        }
    }
// constructs the symbol export context for the on_load function
constructs the symbol export context for the on_load function
constructs the symbol export context for the on_load function
pub fn export(export_map: &ScExportMap) {
        export_name(-1, "WASM::RUST");
        for i in 0..export_map.funcs.len() {
            export_name(i as i32, export_map.names[i]);
        }
        let offset = export_map.funcs.len();
        for i in 0..export_map.views.len() {
            export_name(i as i32 | 0x8000, export_map.names[offset + i]);
        }
    }
pub fn export ( export_map : & ScExportMap ) { export_name ( - 1 , " " ) ; for i in 0 .. export_map . funcs . len ( ) { export_name ( i as i32 , export_map . names [ i ] ) ; } let offset = export_map . funcs . len ( ) ; for i in 0 .. export_map . views . len ( ) { export_name ( i as i32 | 0x8000 , export_map . names [ offset + i ] ) ; } }
constructs the symbol export context for the on_load function
constructs the symbol export context for the on_load function
export_map
&ScExportMap