1
0
forked from M-Labs/nac3

core/irrt: print_value add bool

This commit is contained in:
lyken 2024-07-30 15:52:42 +08:00
parent fb54d5d112
commit 7501a086d0

View File

@ -6,6 +6,11 @@
template <class T>
void print_value(const T& value);
template <>
void print_value(const bool& value) {
printf("%s", value ? "true" : "false");
}
template <>
void print_value(const int8_t& value) {
printf("%d", value);