status_type WarningStill in development. Instead of using the bool type, use status. enum status_t something() { return ok_t; } if (status_is_ok(something()) { printf("meh\n"); } unlicense Unlicense