Skip to content
feenkcomPublic

About

C style wrapper for winit - Cross-platform window creation and management in Rust

Resources

Stars

17 stars

Watchers

9 watching

Forks

Repository files navigation

libWinit

C style wrapper for Winit - cross-platform window creation and management in Rust.

Generating winit.h header

Make sure to install latest cbindgen:

cargo install cbindgen

Generate the header running the following from the root of libwinit repository:

cbindgen --config cbindgen.toml --crate libwinit --output winit.h

Released winit.h header

winit.h is released together with shared libraries. The latest header is available on GitHub: https://github.com/feenkcom/libwinit/releases/latest

Example C project

Check Example using C API to learn how to compile a sample C program to open a native window.

About

C style wrapper for winit - Cross-platform window creation and management in Rust

Resources

Stars

17 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages