Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: add
PointerWrapper
implementation for *mut T
.
The implementation is straightforward: converting to `void *` and borrowing are just pointer casts. This is used by the GPIO subsystem where some context data is controlled by the C side, so it is necessarily a raw pointer. (This is hidden from driver writers though.) Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
- Loading branch information