Files
wehub-resource-sync c4536f7e05
CI / test (push) Failing after 1s
CI / macOS amd64 (push) Has been cancelled
CI / macOS arm64 (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:30:31 +08:00

14 lines
218 B
C

int internal_add(int a, int b) {
if(a > 5) {
return a - b;
}
return a + b;
}
__attribute__((export_name("add")))
int add(int a, int b)
{
int res;
res = internal_add(a, b);
return res;
}