Make PenderContext opaque

This commit is contained in:
Dániel Buga
2023-08-14 15:16:40 +02:00
parent f6007869bf
commit 4c4b12c307
6 changed files with 30 additions and 9 deletions

View File

@ -26,7 +26,7 @@ mod thread {
impl ThreadContext for Context {
fn context(&self) -> PenderContext {
0
unsafe { core::mem::transmute(0) }
}
fn wait(&mut self) {