diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-12 13:23:54 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-12 13:23:54 +0200 |
| commit | 768537d6e4b82a19e77b7e44234309ecaf4d65d2 (patch) | |
| tree | ab22613a16c3a914b16d00a5f988f51d1eadac0d /source/cstring.elna | |
| parent | 14d4977e2ab2409bb7344395ca01d19e49f130f1 (diff) | |
| download | elna-768537d6e4b82a19e77b7e44234309ecaf4d65d2.tar.gz | |
Remove unions
Diffstat (limited to 'source/cstring.elna')
| -rw-r--r-- | source/cstring.elna | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/cstring.elna b/source/cstring.elna index ec5cd7b..e21056a 100644 --- a/source/cstring.elna +++ b/source/cstring.elna @@ -2,25 +2,28 @@ 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 memset(ptr: Pointer; c: Int; n: Word): ^Char +proc memset*(ptr: Pointer; c: Int; n: Word): ^Char extern -proc memcpy(dst: Pointer; src: Pointer; n: Word) +proc memcpy*(dst, src: Pointer; n: Word) extern -proc strcmp(s1: ^Char; s2: ^Char): Int +proc memcmp*(s1, s2: Pointer; n: Word): Int extern -proc strncmp(s1: ^Char; s2: ^Char; n: Word): Int +proc strcmp*(s1: ^Char; s2: ^Char): Int extern -proc strncpy(dst: ^Char; src: ^Char; dsize: Word): ^Char +proc strncmp*(s1: ^Char; s2: ^Char; n: Word): Int extern -proc strcpy(dst: ^Char; src: ^Char): ^Char +proc strncpy*(dst: ^Char; src: ^Char; dsize: Word): ^Char extern -proc strlen(ptr: ^Char): Word +proc strcpy*(dst: ^Char; src: ^Char): ^Char +extern + +proc strlen*(ptr: ^Char): Word extern end. |
