1
-------------------------------------------------------------------------------
3
-- <STRONG>Copyright © 2001, 2002 by Thomas Wolf.</STRONG>
5
-- This piece of software is free software; you can redistribute it and/or
6
-- modify it under the terms of the GNU General Public License as published
7
-- by the Free Software Foundation; either version 2, or (at your option)
8
-- any later version. This software is distributed in the hope that it will
9
-- be useful, but <EM>without any warranty</EM>; without even the implied
10
-- warranty of <EM>merchantability or fitness for a particular purpose.</EM>
11
-- See the GNU General Public License for more details. You should have
12
-- received a copy of the GNU General Public License with this distribution,
13
-- see file "<A HREF="GPL.txt">GPL.txt</A>". If not, write to the Free
14
-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
18
-- As a special exception from the GPL, if other files instantiate generics
19
-- from this unit, or you link this unit with other files to produce an
20
-- executable, this unit does not by itself cause the resulting executable
21
-- to be covered by the GPL. This exception does not however invalidate any
22
-- other reasons why the executable file might be covered by the GPL.
26
-- Thomas Wolf (TW) <E_MAIL>
30
-- Direct access to the internal string buffer.
36
-- Dynamic storage allocation in the default pool.
40
-- 07-JUN-2002 TW Initial version.
42
-------------------------------------------------------------------------------
44
pragma License (Modified_GPL);
46
package Util.Text.Internal is
48
pragma Elaborate_Body;
51
(Source : in Unbounded_String)
56
(Source : in out Unbounded_String;
57
Ptr : in String_Access);
58
-- This is highly unsafe. @Ptr.all@ must be dynamically allocated; its
59
-- lower index must be 1. Neither is checked.
63
pragma Inline (Get_Ptr, Set_Ptr);
65
end Util.Text.Internal;