mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
21 lines
261 B
C
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;
|
|
}
|