Carp/core/carp_bool.h

21 lines
261 B
C

// Bool
bool Bool_copy(const bool* b) {
return *b;
}
bool Bool__EQ_(bool a, bool b) {
return a == b;
}
bool Bool_not(bool a) {
return !a;
}
bool Bool_and(bool a, bool b) {
return a && b;
}
bool Bool_or(bool a, bool b) {
return a && b;
}