source: Generics/TemplateGenerics/Specialized/SpecializedStack.pas

Last change on this file was 574, checked in by chronos, 5 months ago
  • Modified: Removed U prefix from unit names.
File size: 1.0 KB
Line 
1unit SpecializedStack;
2
3interface
4
5uses
6 Classes, SysUtils;
7
8type
9{$MACRO ON}
10
11// TStackInteger<Integer, Integer>
12{$DEFINE TGStackIndex := Integer}
13{$DEFINE TGStackItem := Integer}
14{$DEFINE TGStackList := TListStackInteger}
15{$DEFINE TGStack := TStackInteger}
16{$DEFINE INTERFACE}
17{$I 'GenericStack.inc'}
18
19// TStackInteger<Integer, Pointer>
20{$DEFINE TGStackIndex := Integer}
21{$DEFINE TGStackItem := Pointer}
22{$DEFINE TGStackList := TListStackPointer}
23{$DEFINE TGStack := TStackPointer}
24{$DEFINE INTERFACE}
25{$I 'GenericStack.inc'}
26
27
28implementation
29
30{$DEFINE IMPLEMENTATION_USES}
31{$I 'GenericStack.inc'}
32
33// TStackInteger<Integer, Integer>
34{$DEFINE TGStackIndex := Integer}
35{$DEFINE TGStackItem := Integer}
36{$DEFINE TGStackList := TListStackInteger}
37{$DEFINE TGStack := TStackInteger}
38{$DEFINE IMPLEMENTATION}
39{$I 'GenericStack.inc'}
40
41// TStackInteger<Integer, Pointer>
42{$DEFINE TGStackIndex := Integer}
43{$DEFINE TGStackItem := Pointer}
44{$DEFINE TGStackList := TListStackPointer}
45{$DEFINE TGStack := TStackPointer}
46{$DEFINE IMPLEMENTATION}
47{$I 'GenericStack.inc'}
48end.
Note: See TracBrowser for help on using the repository browser.