Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omentic/nim-wayland
Nim bindings for Wayland.
https://github.com/omentic/nim-wayland
bindings nim wayland wrapper
Last synced: 5 days ago
JSON representation
Nim bindings for Wayland.
- Host: GitHub
- URL: https://github.com/omentic/nim-wayland
- Owner: omentic
- License: mit
- Created: 2022-07-11T04:49:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-03T08:02:20.000Z (over 2 years ago)
- Last Synced: 2024-10-11T03:14:02.503Z (28 days ago)
- Topics: bindings, nim, wayland, wrapper
- Language: Nim
- Homepage:
- Size: 149 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wayland
Work-in-progress Nim bindings for libwayland.
This aims to wrap and provide idiomatic bindings for the Wayland protocol. It currently binds the entirety of Wayland 1.21.0, but should not be considered feature-complete or stable until tests have been written and a release has been made.
These differ from [yglukhov's bindings](https://github.com/yglukhov/wayland) by being more comprehensive, but a work in progress (untested and not particularly idiomatic, yet).
## Todo
- [ ] Write some tests
- [ ] Replace various `ptr T` parameters with ptr types
- [ ] Decide on a prefix convention for types
- Background: wayland and wlroots have identically-named types, so just removing the `Wl` and `Wlr` prefixes will cause conflicts
- Currently the `Wl` prefix here is kept while the `Wlr` prefix in `nim-wlroots` is removed
- Is this the best way forward? Probably not