|
@@ -35,7 +35,8 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-{ declaring this breaks delphi compatibility and e.g. tw3721.pp
|
|
|
|
|
|
+{$ifdef dummy}
|
|
|
|
+{ declaring this breaks delphi compatibility and e.g. tw3721.pp }
|
|
FUNCTION NewStr (Const S: ShortString): PShortString;
|
|
FUNCTION NewStr (Const S: ShortString): PShortString;
|
|
VAR P: PShortString;
|
|
VAR P: PShortString;
|
|
BEGIN
|
|
BEGIN
|
|
@@ -48,7 +49,7 @@ BEGIN
|
|
End;
|
|
End;
|
|
NewStr := P; { Return result }
|
|
NewStr := P; { Return result }
|
|
END;
|
|
END;
|
|
-}
|
|
|
|
|
|
+{$endif dummy}
|
|
|
|
|
|
{ DisposeStr frees the memory occupied by S }
|
|
{ DisposeStr frees the memory occupied by S }
|
|
|
|
|