[fpc-devel] -Oodfa
Florian Klämpfl
florian at freepascal.org
Fri Dec 30 21:19:50 CET 2011
Am 30.12.2011 12:47, schrieb Sergei Gorelkin:
> 30.12.2011 15:18, Florian Klämpfl пишет:
>>
>> I played with this yesterday and what about extended Initialize to
>> support unmanaged types? In case of an unmanaged type it just calls
>> fillchar.
>
> I was rather thinking about 'varout' (or so) parameter type, which was
> suggested already several times in the past.
My concern about varout is that it is a rather big change of the
language ...
> Extending Initialize is a) different from Delphi (Delphi ignores
> initialize(unmanaged_type)), b) does not affect already existing code,
> c) not applicable to all cases where FillChar is used (e.g. FillChar(x,
> sizeof(foo)+n*sizeof(bar))
>
> Sergei
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
More information about the fpc-devel
mailing list