|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 4096 (0x1000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Text_Widget, seg_01ec9b, seg_01f39f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧ └─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; with System; package body Text_Widget is procedure Init_C; pragma Interface (C, Init_C); pragma Interface_Information (Init_C, ".TextInit"); procedure Create_C; pragma Interface (C, Create_C); pragma Interface_Information (Create_C, ".TextCreate"); procedure Put_C (C_Message : System.Address); pragma Interface (C, Put_C); pragma Interface_Information (Put_C, ".TextPut"); procedure Close_C; pragma Interface (C, Close_C); pragma Interface_Information (Close_C, ".TextClose"); type Char_P is access Character; function Get_C return Char_P; pragma Interface (C, Get_C); pragma Interface_Information (Get_C, ".TextGet"); procedure Init is begin Init_C; end Init; procedure Put (Message : String) is C_Message : constant String := Message & Ascii.Nul; begin Put_C (C_Message => C_Message (C_Message'First)'Address); end Put; procedure Close is begin Close_C; end Close; procedure Create is begin Create_C; end Create; function Get return String is P : Char_P; begin P := Get_C; Text_Io.Put (P.all); Text_Io.Put_Line ("got message: ^"); return "toto"; end Get; -- package body Iterator is -- procedure Init is -- begin -- Iter_Init_C; -- end Init; -- -- -- function Done return Boolean is -- begin -- if Iter_Done_C = 1 then -- return True; -- else -- return False; -- end if; -- end Done; -- -- -- procedure Next is -- begin -- Iter_Next_C; -- end Next; -- -- -- function Value return Character is -- begin -- return Iter_Value_C; -- end Value; -- end Iterator; -- -- -- end Text_Widget;
nblk1=3 nid=0 hdr6=6 [0x00] rec0=26 rec1=00 rec2=01 rec3=07c [0x01] rec0=30 rec1=00 rec2=02 rec3=022 [0x02] rec0=07 rec1=00 rec2=03 rec3=000 tail 0x2151b964283836650a5c4 0x42a00088462060003