# MaJerle-lwutil **Repository Path**: WinHZ/lwutil ## Basic Information - **Project Name**: MaJerle-lwutil - **Description**: 功能丰富且易于使用的C语言实用程序库,包含各种应用中常用的函数和宏 最小值、最大值、绝对值、位操作等等 - **Primary Language**: C - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-10 - **Last Updated**: 2026-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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.