diff options
author | 2023-01-30 03:44:01 -0300 | |
---|---|---|
committer | 2023-02-01 13:24:07 +0100 | |
commit | 0fc4424d24a230c7fb539d5d708c81c68aafa9be (patch) | |
tree | f7ff45a3ee2b205e257225d941c23b5e019789e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | rust: types: introduce `ScopeGuard` (diff) | |
download | wireguard-linux-0fc4424d24a230c7fb539d5d708c81c68aafa9be.tar.xz wireguard-linux-0fc4424d24a230c7fb539d5d708c81c68aafa9be.zip |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions