--  Verada.Storage: the machine's memory, as the library's contracts state it. No string, text
--  or container in memory holds Length_Bound or more elements (a word-sized fact: memory is
--  smaller), so the length of two of them joined is still a Natural. An operation that makes
--  a longer one calls Reserve first, which raises Storage_Error as an allocation the heap
--  cannot make does; so no operation needs a precondition on the sizes it is given.
package Verada.Storage is
   Length_Bound : constant := 2 ** 60;

   --  room for Count elements, about to be made: Storage_Error when memory cannot hold them
   procedure Reserve (Count : Long_Long_Long_Integer)
     with Import, Convention => Ada, External_Name => "verada_rt_reserve", Global => null,
          Post => Count < Length_Bound;
end Verada.Storage;
