oo-api 0.0.0

Api support for ∞ extensions
Documentation

oo extension API — link this into your WASM extension.

Minimal extension

#[no_mangle]
pub extern "C" fn oo_init() {}

#[no_mangle]
pub extern "C" fn detect_project() -> i32 { 1 }

#[no_mangle]
pub extern "C" fn oo_event(ptr: i32, len: i32) {
    oo_api::show_notification("Hello from WASM!", "info");
}