diff options
author | Benno Lossin <benno.lossin@proton.me> | 2025-04-21 22:17:50 +0000 |
---|---|---|
committer | Benno Lossin <benno.lossin@proton.me> | 2025-05-01 18:08:52 +0200 |
commit | 90348980a305cc24a067cc6e606e1c318e277930 (patch) | |
tree | 4bcea488916abdf4bc972799b33cb43b743b682d /scripts/generate_rust_analyzer.py | |
parent | 39051adb070432b283e6c11b2b24937281b9f97f (diff) |
rust: pin-init: add `cast_[pin_]init` functions to change the initialized type
These functions cast the given pointer from one type to another. They
are particularly useful when initializing transparent wrapper types.
Link: https://github.com/Rust-for-Linux/pin-init/pull/39/commits/80c03ddee41b154f1099fd8cc7c2bbd8c80af0ad
Reviewed-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions