Add todo()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2022-12-18 17:15:42 +01:00
parent 4a7e48ed5d
commit cda0d49a4e
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -25,3 +25,5 @@
#define unreachable() \
__check_failed(__FILE__, STRINGIZE_VALUE_OF(__LINE__), __PRETTY_FUNCTION__, "Reached unreachable code")
#define todo() __check_failed(__FILE__, STRINGIZE_VALUE_OF(__LINE__), __PRETTY_FUNCTION__, "Reached a TODO!")