I have a compile-error that states: "expected private type "Pekare" defined at line 3. found an access type".
this is the .ads code:
package Image_Handling is
type Data_Access is private;
type Image_Type is record
X_Dim, Y_Dim : Integer;
Data : Data_Access := null;
end record;
type RGB_Type is private;
functions...
private
type RGB_Type is record
R, G ,B : Natural;
T : Boolean := False;
end record;
type Undim_Array is array(Positive range <>, Positive range <>) of RGB_Type;
type Data_Access is access Undim_Array;
end Image_Handling;