DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦ec460a295⟧ TextFile

    Length: 803 (0x323)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Unchecked_Deallocation;

package body Root is

    type State is
        record
            Offspring : Natural := 0;
            Heir : Object;
        end record;


    procedure Free is new Unchecked_Deallocation (State, Object);


    function Create (Offspring : Natural := 0) return Object is separate;


    procedure Delete (This_Object : in out Object;
                      Marker : Boolean := False) is separate;


    procedure Set_Heir (This_Object : in out Object; Heir : Object) is
    begin
        This_Object.Heir := Heir;
    end Set_Heir;


    function Get_Heir (This_Object : Object) return Object is
    begin  
        if This_Object = null then  
            return This_Object;
        else
            return This_Object.Heir;
        end if;
    end Get_Heir;

end Root;