Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,7 +0,0 @@
|
|||
type Link;
|
||||
type Link_Access is access Link;
|
||||
type Link is record
|
||||
Next : Link_Access := null;
|
||||
Prev : Link_Access := null;
|
||||
Data : Integer;
|
||||
end record;
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
generic
|
||||
type Element_Type is private;
|
||||
package Linked_List is
|
||||
type List_Type is limited private;
|
||||
...
|
||||
private
|
||||
type List_Element;
|
||||
type List_Element_Ptr is access list_element;
|
||||
type List_Element is
|
||||
record
|
||||
Prev : List_Element_Ptr;
|
||||
Data : Element_Type;
|
||||
Next : List_Element_Ptr;
|
||||
end record;
|
||||
type List_Type is
|
||||
record
|
||||
Head : List_Element_Ptr; -- Pointer to first element.
|
||||
Tail : List_Element_Ptr; -- Pointer to last element.
|
||||
Cursor : List_Element_Ptr; -- Pointer to cursor element.
|
||||
Count : Natural := 0; -- Number of items in list.
|
||||
Traversing : Boolean := False; -- True when in a traversal.
|
||||
end record;
|
||||
end Linked_List;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
type Link is limited record
|
||||
Next : not null access Link := Link'Unchecked_Access;
|
||||
Prev : not null access Link := Link'Unchecked_Access;
|
||||
Data : Integer;
|
||||
end record;
|
||||
Loading…
Add table
Add a link
Reference in a new issue