Explorar el Código

* 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 hace 14 años
padre
commit
5122411409
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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.    }