diff options
Diffstat (limited to 'source/cstdlib.elna')
| -rw-r--r-- | source/cstdlib.elna | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cstdlib.elna b/source/cstdlib.elna index 930246d..696e5dd 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: ^Char) -> Int +proc atoi(str: ^Char): Int extern -proc exit(code: Int) -> ! +proc exit(code: Int): ! extern end. |
