#define _ASSERT_SIZEOF(type, size) _Static_assert( \
sizeof(type) == (size), \
#type " must be " #size " bytes wide")
This macro should ideally be in a non RISC-V-specific directory
// Inlining header functions in C
This stackoverflow link seems unnecessary, because inlining is a common C feature.
That's a lot of functions for a header. Do they have to be in a header?
Ideally, I'd prefer to have them in a .c file
To view, visit change 30466. To unsubscribe, or for help writing mail filters, visit settings.