An unresolved question is whether the various
OPENGLEAN_ASSERT_* and OPENGLEAN_REQUIRE_*() macros should
also respect error handling. Presently, I'm working
through the visible API interfaces and modifying them to
not assume that the underlying internal functions always
succeed.
I'll probably shoot for completing that, and leave the API
_REQUIRE AND _ASSERT macros alone, for now. Those generally
do not reflect simple failures but rather logic errors.
There's not much that a program can do in those cases,
anyway (though it would still be desirable to be able to
fail gracefully even then).
Anyway.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=854844
I'm starting to implement this.
An unresolved question is whether the various
OPENGLEAN_ASSERT_* and OPENGLEAN_REQUIRE_*() macros should
also respect error handling. Presently, I'm working
through the visible API interfaces and modifying them to
not assume that the underlying internal functions always
succeed.
I'll probably shoot for completing that, and leave the API
_REQUIRE AND _ASSERT macros alone, for now. Those generally
do not reflect simple failures but rather logic errors.
There's not much that a program can do in those cases,
anyway (though it would still be desirable to be able to
fail gracefully even then).
Anyway.