wstrings.inc 981 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999 by Florian Klaempfl,
  5. member of the Free Pascal development team.
  6. This file implements support routines for WideStrings with FPC
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. {
  14. Type
  15. PWideRec = ^TWideRec;
  16. TWideRec = Packed Record
  17. Maxlen,
  18. len,
  19. ref : Longint;
  20. First : WChar;
  21. end;
  22. }
  23. Procedure UniqueWideString(Var S : WideString); [Public,Alias : 'FPC_WIDESTR_UNIQUE'];
  24. {
  25. Make sure reference count of S is 1,
  26. using copy-on-write semantics.
  27. }
  28. begin
  29. end;
  30. {
  31. $Log$
  32. Revision 1.1 1999-12-18 14:55:53 florian
  33. + initial version
  34. }