mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-25 09:50:52 +00:00
18 lines
489 B
Rust
18 lines
489 B
Rust
#![cfg_attr(target_os = "none", no_std)]
|
|
|
|
pub mod api;
|
|
|
|
/*
|
|
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");
|
|
|
|
write!(sendable_registration.name, "I'm a server, please call me Fred!");
|
|
|
|
sendable_registration.lend_mut(ns_conn, sendable_registration.mid());
|
|
|
|
*/
|