diff options
Diffstat (limited to 'source/cstring.elna')
| -rw-r--r-- | source/cstring.elna | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/cstring.elna b/source/cstring.elna index e21056a..0b4bd90 100644 --- a/source/cstring.elna +++ b/source/cstring.elna @@ -5,25 +5,25 @@ proc memset*(ptr: Pointer; c: Int; n: Word): ^Char extern -proc memcpy*(dst, src: Pointer; n: Word) +proc memcpy*(dst: Pointer; src: const Pointer; n: Word) extern -proc memcmp*(s1, s2: Pointer; n: Word): Int +proc memcmp*(s1, s2: const Pointer; n: Word): Int extern -proc strcmp*(s1: ^Char; s2: ^Char): Int +proc strcmp*(s1: ^const Char; s2: ^const Char): Int extern -proc strncmp*(s1: ^Char; s2: ^Char; n: Word): Int +proc strncmp*(s1: ^const Char; s2: ^const Char; n: Word): Int extern -proc strncpy*(dst: ^Char; src: ^Char; dsize: Word): ^Char +proc strncpy*(dst: ^Char; src: ^const Char; dsize: Word): ^Char extern -proc strcpy*(dst: ^Char; src: ^Char): ^Char +proc strcpy*(dst: ^Char; src: ^const Char): ^Char extern -proc strlen*(ptr: ^Char): Word +proc strlen*(ptr: ^const Char): Word extern end. |
