this is a great intro to writing c bindings: Blog: Understanding How Zig and C Interact
And this is a good intro to the move and loan stuff: Rust Ownership, Move and Borrow - Part 1
this is a great intro to writing c bindings: Blog: Understanding How Zig and C Interact
And this is a good intro to the move and loan stuff: Rust Ownership, Move and Borrow - Part 1