From dbca249757a98d6d56e23db43baa93ad30a91709 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 30 Aug 2026 21:07:48 +0200 Subject: Use arrow -> for return types --- source/cstdlib.elna | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/cstdlib.elna') diff --git a/source/cstdlib.elna b/source/cstdlib.elna index 0f78c8e..09b1ddf 100644 --- a/source/cstdlib.elna +++ b/source/cstdlib.elna @@ -2,22 +2,22 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *) -proc malloc*(size: Word): Pointer +proc malloc*(size: Word) -> Pointer extern proc free*(ptr: Pointer) extern -proc calloc*(nmemb: Word; size: Word): Pointer +proc calloc*(nmemb: Word; size: Word) -> Pointer extern -proc realloc*(ptr: Pointer; size: Word): Pointer +proc realloc*(ptr: Pointer; size: Word) -> Pointer extern -proc atoi*(str: ^Word8): Int +proc atoi*(str: ^Word8) -> Int extern -proc exit*(code: Int): ! +proc exit*(code: Int) -> ! extern end. -- cgit v1.2.3