MCPcopy Create free account
hub / github.com/Ruddle/Fomos / App

Class App

bootloader/kernel/src/app.rs:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48type FuncType = extern "C" fn(arg: &mut Context) -> i32;
49
50pub struct App {
51 pub code: Vec<u8>,
52 pub func: FuncType,
53 pub pid: u64,
54 pub store: Option<Box<()>>,
55}
56impl App {
57 pub fn new(code: &[u8], show: bool) -> App {
58 let code = code.to_vec();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected