<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-03-02 0:16 GMT+01:00 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""></span>This is by design and your patch would break existing code anyway.
<p>The init RTTI contains merely those fields that need initialization (namely interfaces, strings and dynamic arrays) and which is used for the fpc_initialize(), fpc_finalize() and fpc_assign() helpers while the full RTTI contains all typed, even those that don't need initialization. Please note that not all types need a separate init RTTI (e.g. classes), but records do (this is determined by needs_separate_init_rtti that each def overrides).</p></blockquote><div>my patch was created only on Michael request. ;) thanks for clarification, that makes sense, it works as expected (my second email as a proof). As far as i understand is possible to divide record RTTI data on INIT table and RTTI table.<br><br>INIT table:<br></div><div>-record size<br></div><div>-managed fields<br></div><div>-management operators (done in my branch, not committed yet)<br><br></div><div>RTTI table (eventually TODO):<br></div><div>-attributes<br></div><div>-other operators<br></div><div>-other info about properties and methods etc. <br><br></div><div>RTTI table in most of cases includes also most of INIT table data (probably full copy).<br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>