1 2 3 4 5 6 7 8 9
package pointer_protected_p is type T; type Ptr is access protected procedure (Data : T); type T is record Data : Ptr; end record; end pointer_protected_p;