2021-01-04 15:34:36 +00:00
|
|
|
#![cfg_attr(target_os = "none", no_std)]
|
|
|
|
|
|
|
|
|
|
pub mod api;
|
|
|
|
|
|
2021-01-04 18:28:27 +00:00
|
|
|
/*
|
|
|
|
|
Calls are made using the xous::ipc::Sendable IPC wrapper, for example:
|
|
|
|
|
|
|
|
|
|
use xous::ipc::*;
|
|
|
|
|
|
|
|
|
|
let mut registration = Registration::new();
|
|
|
|
|
let mut sendable_registration = Sendable::new(registration)
|
|
|
|
|
.expect("can't create sendable registration structure");
|
|
|
|
|
|
|
|
|
|
let test_name = b"A test Name!";
|
|
|
|
|
sendable_registration.name[..test_name.len()].clone_from_slice(test_name);
|
|
|
|
|
sendable_registration.name_len = test_name.len();
|
|
|
|
|
|
|
|
|
|
sendable_registration.lend_mut(ns_conn, sendable_registration.mid());
|
|
|
|
|
|
|
|
|
|
*/
|