mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 07:49:12 +02:00
+ initial version
This commit is contained in:
parent
89c403c529
commit
3df732dfa0
42
rtl/inc/wstrings.inc
Normal file
42
rtl/inc/wstrings.inc
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
$Id$
|
||||||
|
This file is part of the Free Pascal run time library.
|
||||||
|
Copyright (c) 1999 by Florian Klaempfl,
|
||||||
|
member of the Free Pascal development team.
|
||||||
|
|
||||||
|
This file implements support routines for WideStrings with FPC
|
||||||
|
|
||||||
|
See the file COPYING.FPC, included in this distribution,
|
||||||
|
for details about the copyright.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
**********************************************************************}
|
||||||
|
{
|
||||||
|
Type
|
||||||
|
PWideRec = ^TWideRec;
|
||||||
|
TWideRec = Packed Record
|
||||||
|
Maxlen,
|
||||||
|
len,
|
||||||
|
ref : Longint;
|
||||||
|
First : WChar;
|
||||||
|
end;
|
||||||
|
}
|
||||||
|
|
||||||
|
Procedure UniqueWideString(Var S : WideString); [Public,Alias : 'FPC_WIDESTR_UNIQUE'];
|
||||||
|
{
|
||||||
|
Make sure reference count of S is 1,
|
||||||
|
using copy-on-write semantics.
|
||||||
|
}
|
||||||
|
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
{
|
||||||
|
$Log$
|
||||||
|
Revision 1.1 1999-12-18 14:55:53 florian
|
||||||
|
+ initial version
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user