Browse Source

* donewidestring has var instead of out parameter

git-svn-id: trunk@2535 -
Jonas Maebe 19 years ago
parent
commit
9b4ce0a501
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/widestr.pas

+ 2 - 2
compiler/widestr.pas

@@ -44,7 +44,7 @@ unit widestr;
        end;
        end;
 
 
     procedure initwidestring(out r : pcompilerwidestring);
     procedure initwidestring(out r : pcompilerwidestring);
-    procedure donewidestring(out r : pcompilerwidestring);
+    procedure donewidestring(var r : pcompilerwidestring);
     procedure setlengthwidestring(r : pcompilerwidestring;l : SizeInt);
     procedure setlengthwidestring(r : pcompilerwidestring;l : SizeInt);
     function getlengthwidestring(r : pcompilerwidestring) : SizeInt;
     function getlengthwidestring(r : pcompilerwidestring) : SizeInt;
     procedure concatwidestringchar(r : pcompilerwidestring;c : tcompilerwidechar);
     procedure concatwidestringchar(r : pcompilerwidestring;c : tcompilerwidechar);
@@ -74,7 +74,7 @@ unit widestr;
          r^.maxlen:=0;
          r^.maxlen:=0;
       end;
       end;
 
 
-    procedure donewidestring(out r : pcompilerwidestring);
+    procedure donewidestring(var r : pcompilerwidestring);
 
 
       begin
       begin
          if assigned(r^.data) then
          if assigned(r^.data) then