fix cp437 prefix, fix example
This commit is contained in:
parent
514c0304b8
commit
8296773779
3 changed files with 29 additions and 29 deletions
|
@ -34,7 +34,7 @@ wrap_clone!(sp_cp437_grid::Cp437Grid);
|
|||
wrap_free!(sp_cp437_grid::Cp437Grid);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Gets the current value at the specified position.
|
||||
///
|
||||
/// # Arguments
|
||||
|
@ -48,7 +48,7 @@ wrap_method!(
|
|||
);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Sets the value at the specified position.
|
||||
///
|
||||
/// # Arguments
|
||||
|
@ -65,7 +65,7 @@ wrap_method!(
|
|||
);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Sets the value of all cells in the grid.
|
||||
///
|
||||
/// # Arguments
|
||||
|
@ -76,19 +76,19 @@ wrap_method!(
|
|||
);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Gets the width of the grid.
|
||||
ref fn width() -> usize;
|
||||
);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Gets the height of the grid.
|
||||
ref fn height() -> usize;
|
||||
);
|
||||
|
||||
wrap_method!(
|
||||
sp_cp437::Cp437Grid;
|
||||
sp_cp437_grid::Cp437Grid;
|
||||
/// Gets an unsafe reference to the data of the grid.
|
||||
///
|
||||
/// The returned memory is valid for the lifetime of the instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue