|
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 - metrics - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Ada_C, seg_022a27, seg_026cbe
└─⟦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 System; package body Ada_C is Separator : constant Character := ','; procedure Free_C (P : System.Address); pragma Interface (C, Free_C); pragma Interface_Information (Free_C, ".free"); function String_C_To_Ada (S : System.Address) return String is Lg : String (1 .. 20); for Lg use at S; Length : Integer := 0; I : Integer := 1; begin while Lg (I) /= Separator loop I := I + 1; end loop; declare S_Lg : constant String := Lg (1 .. I - 1); begin Length := Integer'Value (S_Lg); end; declare S_Lg : String (1 .. Length + I); for S_Lg use at S; Ns : constant String := S_Lg (I + 1 .. Length + I); begin Free_C (S); return Ns; end; end String_C_To_Ada; function String_Ada_To_C (S : String) return String is begin return S & Ascii.Nul; end String_Ada_To_C; end Ada_C;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=24 rec1=00 rec2=01 rec3=074 [0x01] rec0=05 rec1=00 rec2=02 rec3=001 tail 0x2151defc4839573f1ad59 0x42a00088462060003