Browse Source

* mark strcopy/strlcopy as "overload" in the interface of the strings unit
for overloading with sysutils versions (fixes r19488)

git-svn-id: trunk@19490 -

Jonas Maebe 14 năm trước cách đây
mục cha
commit
5122411409
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      rtl/inc/strings.pp

+ 2 - 2
rtl/inc/strings.pp

@@ -26,11 +26,11 @@ interface
     function strpcopy(d : pchar;const s : string) : pchar;
 
     { Copies source to dest, returns a pointer to dest }
-    function strcopy(dest,source : pchar) : pchar;
+    function strcopy(dest,source : pchar) : pchar; overload;
 
     { Copies at most maxlen bytes from source to dest. }
     { Returns a pointer to dest }
-    function strlcopy(dest,source : pchar;maxlen : SizeInt) : pchar;
+    function strlcopy(dest,source : pchar;maxlen : SizeInt) : pchar; overload;
 
     { Copies source to dest and returns a pointer to the terminating }
     { null character.    }