more doc effort
This commit is contained in:
parent
92feabf3e7
commit
97fbc11a8f
@ -278,7 +278,6 @@ fn push_client(
|
|||||||
/// ::ipc::invoke(0, &Some(serialized_payload), &mut socket);
|
/// ::ipc::invoke(0, &Some(serialized_payload), &mut socket);
|
||||||
/// while !socket.ready().load(::std::sync::atomic::Ordering::Relaxed) { }
|
/// while !socket.ready().load(::std::sync::atomic::Ordering::Relaxed) { }
|
||||||
/// ::bincode::serde::deserialize_from::<_, u32>(&mut socket, ::bincode::SizeLimit::Infinite).unwrap()
|
/// ::bincode::serde::deserialize_from::<_, u32>(&mut socket, ::bincode::SizeLimit::Infinite).unwrap()
|
||||||
|
|
||||||
fn implement_client_method_body(
|
fn implement_client_method_body(
|
||||||
cx: &ExtCtxt,
|
cx: &ExtCtxt,
|
||||||
builder: &aster::AstBuilder,
|
builder: &aster::AstBuilder,
|
||||||
@ -386,8 +385,8 @@ fn implement_client_method_body(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
/// Generates signature and body (see `implement_client_method_body`)
|
||||||
/// Generates signature and
|
/// for the client (signature is identical to the original method)
|
||||||
fn implement_client_method(
|
fn implement_client_method(
|
||||||
cx: &ExtCtxt,
|
cx: &ExtCtxt,
|
||||||
builder: &aster::AstBuilder,
|
builder: &aster::AstBuilder,
|
||||||
@ -443,6 +442,7 @@ fn implement_client_method(
|
|||||||
signature.unwrap()
|
signature.unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// pushes full client side code for the original class exposed via ipc
|
||||||
fn push_client_implementation(
|
fn push_client_implementation(
|
||||||
cx: &ExtCtxt,
|
cx: &ExtCtxt,
|
||||||
builder: &aster::AstBuilder,
|
builder: &aster::AstBuilder,
|
||||||
@ -476,6 +476,7 @@ fn push_client_implementation(
|
|||||||
push(Annotatable::Item(implement));
|
push(Annotatable::Item(implement));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// implements `IpcInterface<C>` for the given class `C`
|
||||||
fn implement_interface(
|
fn implement_interface(
|
||||||
cx: &ExtCtxt,
|
cx: &ExtCtxt,
|
||||||
builder: &aster::AstBuilder,
|
builder: &aster::AstBuilder,
|
||||||
|
Loading…
Reference in New Issue
Block a user