mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-07-31 16:16:26 +00:00
Delete mafiabot_types.adb
ive said this a million times
This commit is contained in:
parent
0db3d571fb
commit
a8e890b362
@ -1,21 +0,0 @@
|
|||||||
-- Bodies for the shared helpers. Mafiabot is not a term in use.
|
|
||||||
|
|
||||||
with SPARK_Mode => On
|
|
||||||
is
|
|
||||||
|
|
||||||
function Make_Text (S : String) return Bounded_Text is
|
|
||||||
Result : Bounded_Text;
|
|
||||||
begin
|
|
||||||
Result.Length := S'Length;
|
|
||||||
if S'Length > 0 then
|
|
||||||
Result.Data (1 .. S'Length) := S;
|
|
||||||
end if;
|
|
||||||
return Result;
|
|
||||||
end Make_Text;
|
|
||||||
|
|
||||||
function To_String (T : Bounded_Text) return String is
|
|
||||||
begin
|
|
||||||
return T.Data (1 .. T.Length);
|
|
||||||
end To_String;
|
|
||||||
|
|
||||||
end;
|
|
||||||
Loading…
x
Reference in New Issue
Block a user