Change the decl searching api while figuring out how to implement
function overloading
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user