Carp/core/carp_bool.h

21 lines
261 B
C
Raw Normal View History

2018-01-24 17:53:18 +03:00
// Bool
bool Bool_copy(const bool* b) {
return *b;
}
2018-01-24 17:53:18 +03:00
bool Bool__EQ_(bool a, bool b) {
return a == b;
}
2018-01-24 17:53:18 +03:00
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;
}