foxpy / qc

Quad C: Custom Cruel C Crate
MIT License
4 stars 0 forks source link

feature request: error handling library: ignore NULL pointers #53

Closed foxpy closed 3 years ago

foxpy commented 3 years ago

Sometimes one wants to call a bunch of functions without even checking for errors. This should be opaquely handled.

foxpy commented 3 years ago

There should also be versions of functions with _must prefix, which crash program on error occurence. Of course, they should print verbose error message whenever possible.

foxpy commented 3 years ago

There should also be versions of functions with _must prefix, which crash program on error occurence. Of course, they should print verbose error message whenever possible.

Actually, no, with NULL-tolerant error library dumb error handling is already exteremely easy, no need for boilerplate functions.