25 lines
389 B
Rust
25 lines
389 B
Rust
pub mod buffer;
|
|
pub mod message;
|
|
|
|
use alloc::string::ToString;
|
|
|
|
pub struct IpcV1 {
|
|
abc: alloc::string::String,
|
|
}
|
|
|
|
pub struct IpcV2 {
|
|
abc: alloc::string::String,
|
|
}
|
|
|
|
pub fn IPCV1_to_IPCV2(ipc_v1: IpcV1) -> IpcV2 {
|
|
return IpcV2 {
|
|
abc: "abc".to_string(),
|
|
};
|
|
}
|
|
|
|
pub fn IPCV2_to_IPCV1(ipc_v2: IpcV2) -> IpcV1 {
|
|
return IpcV1 {
|
|
abc: "abc".to_string(),
|
|
};
|
|
}
|