diff options
author | Wedson Almeida Filho <wedsonaf@gmail.com> | 2023-01-30 03:44:01 -0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-02-01 13:24:07 +0100 |
commit | 0fc4424d24a230c7fb539d5d708c81c68aafa9be (patch) | |
tree | f7ff45a3ee2b205e257225d941c23b5e019789e8 /rust/kernel/prelude.rs | |
parent | 4d4692a2ff836487c17960a6211a4cce7094f09c (diff) |
rust: types: introduce `ForeignOwnable`
It was originally called `PointerWrapper`. It is used to convert
a Rust object to a pointer representation (void *) that can be
stored on the C side, used, and eventually returned to Rust.
Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/prelude.rs')
0 files changed, 0 insertions, 0 deletions