C style wrapper for Winit - cross-platform window creation and management in Rust.
Make sure to install latest cbindgen:
cargo install cbindgenGenerate the header running the following from the root of libwinit repository:
cbindgen --config cbindgen.toml --crate libwinit --output winit.hwinit.h is released together with shared libraries.
The latest header is available on GitHub: https://github.com/feenkcom/libwinit/releases/latest
Check Example using C API to learn how to compile a sample C program to open a native window.