> On Jun 9, 2019, at 9:45 AM, Florian Klämpfl <[email protected]> wrote:
>
> And? It is obvious that FPC has to know what's the base type of a pointer
> else it couldn't do type checking.
I think all he means is this:
type
TInt = ^integer;
procedure DoThis(i: TInt);
begin
end;
var
a: ^integer;
begin
DoThis(a0);
He just wants function parameters to declare the new pointer type inline.
procedure DoThis(i: ^integer);
begin
end;
var
a: ^integer;
begin
DoThis(a0);
Regards,
Ryan Joseph
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel