[fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?

Jonas Maebe jonas at freepascal.org
Fri Jun 7 21:26:04 CEST 2019


On 07/06/2019 21:06, Ben Grasset wrote:
> On Fri, Jun 7, 2019 at 2:35 PM Jonas Maebe <jonas at freepascal.org 
> <mailto:jonas at freepascal.org>> wrote:
> 
>     Your "^Type" inline type definition would behave  exactly the same
>     as a regular pointer type definition.
> 
>   Of course. It would be strange if it didn't, I think. That's the whole 
> point.

My point is that a parameter type declaration is a completely different 
beast than a type definition. So if you add something in it that is in 
fact the same as a regular type definition, something is wrong.


Jonas



More information about the fpc-devel mailing list