https://github.com/nunofachada/g_err_macros
A set of error handling macros for C programs using Glib.
https://github.com/nunofachada/g_err_macros
c error-handler error-handling error-messages glib header header-only
Last synced: 7 months ago
JSON representation
A set of error handling macros for C programs using Glib.
- Host: GitHub
- URL: https://github.com/nunofachada/g_err_macros
- Owner: nunofachada
- License: mit
- Created: 2016-08-22T18:28:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-12T19:23:01.000Z (over 9 years ago)
- Last Synced: 2025-04-02T17:51:22.429Z (about 1 year ago)
- Topics: c, error-handler, error-handling, error-messages, glib, header, header-only
- Language: C
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Summary
A [header file](_g_err_macros.h) containing a set of error handling macros for
C programs using Glib.
### What projects are using these macros?
* [cf4ocl][]
* [cl_ops][]
* Is your project using these macros? Tell us.
### Tests
##### Building the tests executable
This procedure requires [CMake][], [Glib][] and a C compiler.
1. Create a build folder inside the [tests](tests/) folder (e.g. `mkdir build`)
2. CD into the build folder (e.g. `cd build`) and run CMake (e.g. `cmake ..`)
3. Compile the tests file (e.g. `make`)
##### Performing the tests
The tests can be executed in two ways:
1. Run the tests executable directly (e.g. `./tests`)
2. Run the tests with [gtester][] (e.g. `gtester tests`)
### License
[MIT License](LICENSE)
[cf4ocl]: http://fakenmc.github.io/cf4ocl/
[cl_ops]: https://github.com/fakenmc/cl_ops
[CMake]: https://cmake.org/
[Glib]: https://developer.gnome.org/glib/
[gtester]: https://developer.gnome.org/glib/stable/gtester.html