Hosted by
|
package body Notations.Simple is
function Create
(Name : in Simple_Enum)
return Simple_Access
is
Result : Simple_Access := new Simple;
begin
Result.Name := Name;
return Result;
end Create;
function Get_Name
(This : access Simple)
return Simple_Enum is
begin
return This.Name;
end Get_Name;
end Notations.Simple;
|