1 2 3 4 5 6 7 8 9 10 11
#include <stdlib.h> #include <stdbool.h> #include <stdint.h> __attribute__((visibility("default"))) bool is_even(uint64_t num) { if (num & 0x1) { return false; } else { return true; } }