Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
10
Task/Singleton/Ada/singleton-1.adb
Normal file
10
Task/Singleton/Ada/singleton-1.adb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package Global_Singleton is
|
||||
procedure Set_Data (Value : Integer);
|
||||
function Get_Data return Integer;
|
||||
private
|
||||
type Instance_Type is record
|
||||
-- Define instance data elements
|
||||
Data : Integer := 0;
|
||||
end record;
|
||||
Instance : Instance_Type;
|
||||
end Global_Singleton;
|
||||
Loading…
Add table
Add a link
Reference in a new issue