diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/GenericsLibrary/std.nhh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/GenericsLibrary/std.nhh b/include/GenericsLibrary/std.nhh index 850ed4b..24fcef4 100644 --- a/include/GenericsLibrary/std.nhh +++ b/include/GenericsLibrary/std.nhh @@ -15,16 +15,16 @@ extern __nrt_free; //@ Standard free let free_bytes(let ptr) { - if (ptr === 0) return 0; + if (ptr === 0): return 0; return __nrt_free(ptr); } //@ Standard alloc (bytes) let alloc_bytes(let type, let sz, let align := 0) { - if (0 !== align) return 0; - if (0 !== type) return 0; - if (0 !== sz) return 0; + if (0 !== align): return 0; + if (0 !== type): return 0; + if (0 !== sz): return 0; return __nrt_alloc(type, sz, align); } |
