mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-07-31 16:16:26 +00:00
Delete mafiabot_types.adb
This commit is contained in:
parent
9c71e7fb19
commit
a0d7e52a22
@ -1,19 +0,0 @@
|
|||||||
package body Mafiabot_Types
|
|
||||||
with SPARK_Mode => On
|
|
||||||
is
|
|
||||||
|
|
||||||
function Make_Text (S : String) return Bounded_Text is
|
|
||||||
T : Bounded_Text;
|
|
||||||
L : constant Text_Length := S'Length;
|
|
||||||
begin
|
|
||||||
T.Length := L;
|
|
||||||
T.Data (1 .. L) := S;
|
|
||||||
return T;
|
|
||||||
end Make_Text;
|
|
||||||
|
|
||||||
function To_String (T : Bounded_Text) return String is
|
|
||||||
begin
|
|
||||||
return T.Data (1 .. T.Length);
|
|
||||||
end To_String;
|
|
||||||
|
|
||||||
end Mafiabot_Types;
|
|
||||||
Loading…
x
Reference in New Issue
Block a user