Messages in this thread | | | Date | Fri, 31 Mar 2023 09:02:14 +0200 | Subject | Re: [PATCH v3 11/13] rust: types: add common init-helper functions for `Opaque` | From | Alice Ryhl <> |
| |
On 3/30/23 00:33, y86-dev@protonmail.com wrote: > From: Benno Lossin <y86-dev@protonmail.com> > > Add helper functions to more easily initialize `Opaque<T>` via FFI and > rust raw initializer functions. > These functions take a function pointer to the FFI/raw initialization > function and take between 0-4 other arguments. It then returns an > initializer that uses the FFI/raw initialization function along with the > given arguments to initialize an `Opaque<T>`. > > Signed-off-by: Benno Lossin <y86-dev@protonmail.com>
Reviwed-by: Alice Ryhl <aliceryhl@google.com>
| |