hcl/lib2/h3-trees.adb

33 lines
613 B
Ada
Raw Normal View History

2021-12-08 15:43:33 +00:00
with Ada.Unchecked_Deallocation;
2021-12-05 16:13:36 +00:00
package body H3.Trees is
2021-12-08 15:43:33 +00:00
procedure New_Node (Tr: in out Tree; Code: Node_Code) is
N: Node_Pointer;
begin
N := new Node(Code);
N.Next := Tr.Top;
Tr.Top := N;
end New_Node;
2021-12-05 16:13:36 +00:00
procedure Free_Node (Tr: in out Tree; N: in out Node) is
begin
--case N.Code is
-- when NODE_...
--end case;
null;
end Free_Node;
2021-12-08 15:43:33 +00:00
-- ------------------------------------------------------------------
overriding procedure Initialize (C: in out Tree) is
begin
null;
end Initialize;
overriding procedure Finalize (C: in out Tree) is
begin
null;
end Finalize;
2021-12-05 16:13:36 +00:00
end H3.Trees;