pck.adb 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. -- Copyright 2010-2022 Free Software Foundation, Inc.
  2. --
  3. -- This program is free software; you can redistribute it and/or modify
  4. -- it under the terms of the GNU General Public License as published by
  5. -- the Free Software Foundation; either version 3 of the License, or
  6. -- (at your option) any later version.
  7. --
  8. -- This program is distributed in the hope that it will be useful,
  9. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. -- GNU General Public License for more details.
  12. --
  13. -- You should have received a copy of the GNU General Public License
  14. -- along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. with System;
  16. package body Pck is
  17. package body Top is
  18. procedure Assign (Obj: in out Top_T; TV : Integer) is
  19. begin
  20. Do_Nothing (Obj'Address); -- BREAK_TOP
  21. end Assign;
  22. end Top;
  23. package body Middle is
  24. procedure Assign (Obj: in out Middle_T; MV : Character) is
  25. begin
  26. Do_Nothing (Obj'Address); -- BREAK_MIDDLE
  27. end Assign;
  28. end Middle;
  29. procedure Assign (Obj: in out Bottom_T; BV : Float) is
  30. begin
  31. Do_Nothing (Obj'Address); -- BREAK_BOTTOM
  32. end Assign;
  33. procedure Do_Nothing (A : System.Address) is
  34. begin
  35. null;
  36. end Do_Nothing;
  37. package body Dyn_Top is
  38. procedure Assign (Obj: in out Dyn_Top_T; TV : Integer) is
  39. begin
  40. Do_Nothing (Obj'Address); -- BREAK_DYN_TOP
  41. end Assign;
  42. end Dyn_Top;
  43. package body Dyn_Middle is
  44. procedure Assign (Obj: in out Dyn_Middle_T; MV : Character) is
  45. begin
  46. Do_Nothing (Obj'Address); -- BREAK_DYN_MIDDLE
  47. end Assign;
  48. end Dyn_Middle;
  49. end Pck;