OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [c_words.ads] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
package C_Words is
2
   type Comparable is limited interface;
3
 
4
   type Word (<>) is tagged private;
5
   function New_Word (Str : String) return Word;
6
 
7
   type C_Word (<>) is new Word and Comparable with private;
8
   function New_Word (Str : String) return C_Word;
9
 
10
private
11
   type Word (Length : Natural) is tagged record
12
      Str : String (1 .. Length) := (others => ' ');
13
   end record;
14
 
15
   type C_Word is new Word and Comparable with null record;
16
end C_Words;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.