Change the decl searching api while figuring out how to implement

function overloading
This commit is contained in:
Krzosa Karol
2022-09-29 12:04:21 +02:00
parent a7524a0071
commit 5f11a11f0f
9 changed files with 113 additions and 53 deletions

View File

@@ -38,7 +38,9 @@ api F32 absolute(F32 value) {
return value;
}
api S32 square(S32 val) { return val * val; }
api S32 square(S32 val) {
return val * val;
}
api S32 clamp01(S32 val) {
S32 result = clamp(0, val, 1);