<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bart via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Mi., 12. Jan. 2022, 22:31:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jan 12, 2022 at 3:13 PM Michael Van Canneyt via fpc-pascal<br>
<<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>> wrote:<br>
<br>
> From the definition you can see it is a compilerproc function, meaning that the<br>
> compiler writes direct calls to this.<br>
> To change the signature of the function means the compiler itself also must be changed.<br>
<br>
Could you naybe point me to where in the compiler this "magic" happens?<br>
(fpc_Val_UInt_Shortstr() signature needs to be changed IMO)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You can see it in Florian's commit to the branch about range checking where he added the DestSize parameter. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>