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