[rust] update to nccell

pull/1520/head
nick black 4 years ago
parent bc80350384
commit 33929cf91e
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -85,7 +85,7 @@ impl NcCell {
/// ///
/// Both must be or will be bound to `common_plane`. /// Both must be or will be bound to `common_plane`.
/// ///
/// *C style function: [cell_duplicate()][crate::cell_duplicate].* /// *C style function: [nccell_duplicate()][crate::nccell_duplicate].*
pub fn duplicate(&self, target: &mut NcCell, common_plane: &mut NcPlane) -> NcResult<()> { pub fn duplicate(&self, target: &mut NcCell, common_plane: &mut NcPlane) -> NcResult<()> {
error![unsafe { crate::nccell_duplicate(common_plane, target, self) }] error![unsafe { crate::nccell_duplicate(common_plane, target, self) }]
} }
@ -100,7 +100,7 @@ impl NcCell {
/// Releases resources held by the current cell in the [NcPlane] `plane`. /// Releases resources held by the current cell in the [NcPlane] `plane`.
/// ///
/// *C style function: [cell_release()][crate::cell_release].* /// *C style function: [nccell_release()][crate::nccell_release].*
pub fn release(&mut self, plane: &mut NcPlane) { pub fn release(&mut self, plane: &mut NcPlane) {
unsafe { unsafe {
crate::nccell_release(plane, self); crate::nccell_release(plane, self);

Loading…
Cancel
Save