diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-29 10:41:00 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-29 10:41:00 +0200 |
| commit | 232302ec070134efc4ee193c26d17c610b4500ee (patch) | |
| tree | 7b533edc5dc0621b43cdfad2cfdf2c1aba8e5acd /include/GenericsLibrary/std.nhh | |
| parent | 040e7d7047a7b6799975d309ce1d42ed2d56ab2f (diff) | |
[CHORE] CLI tool improvements, std.nhh header fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/GenericsLibrary/std.nhh')
| -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); } |
