mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 14:12:32 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| {
 | |
|     $Id$
 | |
|     This file is part of the Free Pascal run time library.
 | |
|     Copyright (c) 1999-2000 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.2  2000-01-07 16:41:37  daniel
 | |
|     * copyright 2000
 | |
| 
 | |
|   Revision 1.1  1999/12/18 14:55:53  florian
 | |
|     + initial version
 | |
| 
 | |
| }
 | 
