https://github.com/majerle/lwutil
Versatile and easy to use C language utility library with functions and macros commonly used in various applications
https://github.com/majerle/lwutil
Last synced: 5 months ago
JSON representation
Versatile and easy to use C language utility library with functions and macros commonly used in various applications
- Host: GitHub
- URL: https://github.com/majerle/lwutil
- Owner: MaJerle
- License: mit
- Created: 2021-04-21T18:54:46.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-30T12:46:46.000Z (6 months ago)
- Last Synced: 2025-05-09T03:02:34.929Z (5 months ago)
- Language: C
- Homepage:
- Size: 222 KB
- Stars: 60
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# C language utility library
Set of different functions and macros usually used in the various applications.
## Features
- Support for C99 or later
- Support for minimal and maximal values
- Support for absolute values
- Support for unused macros
- Support for storing and loading data from array in little- or big- endian formats
- Support for retrieving number of elements for statically allocated array
- Support for bitwise operations to set, clear, check or toggle bits
- Compilation-time assert feature
- User friendly MIT license## How to use
Usage is very simply. Add `lwutil.c` file to compilation flag and make sure compiler has access to `lwutil.h` for include paths.
## Contribute
This is a generic library and welcomes different contributions.
We accept issue reports or, even better, pull-requests with bugs or new features.Use [c-code-style](https://github.com/MaJerle/c-code-style) rules for coding and keep the same coding consistency.