[fpc-pascal] how to determine if a class has descendant registered within the current program

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Mar 8 12:49:53 CET 2017


On 2017-03-08 11:43, Michael Van Canneyt wrote:
> Not really, because the list depends on a compiled binary. 
> There is no binary when generating documentation...

Ah, okay.


> The good news is that the documentation can already do this without any 
> changes to the compiler; if so desired, it could generate a list of all 
> descendents in the package.

Indeed, I knew this would already be possible. I simply thought the RTTI
option might be a bit more efficient.


Regards,
  Graeme




More information about the fpc-pascal mailing list