mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
gam: make sure opcodes are only available in-crate
This prevents them from accidentally being used outside of the crate. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
9c8b562711
commit
14c9d62046
1 changed files with 2 additions and 1 deletions
|
|
@ -30,9 +30,10 @@ pub struct ContentCanvasRequest {
|
|||
pub servername: xous::String<256>,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug, rkyv::Archive, rkyv::Unarchive, Copy, Clone)]
|
||||
// #[archive(derive(Copy, Clone))]
|
||||
pub enum Opcode {
|
||||
pub(crate) enum Opcode {
|
||||
// clears a canvas with a given GID
|
||||
ClearCanvas(Gid),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue