[fpc-pascal] Makeskel generation question

Reinier Olislagers reinierolislagers at gmail.com
Fri Nov 18 11:05:03 CET 2011


Hi list,

I've run makeskel on ibconnection.pp.

This declaration:
  protected
...
    function GetHandle : pointer; override;

gets output as:
<!-- function Visibility: protected -->
<element name="TIBConnection.GetHandle">
<short></short>
<descr>
</descr>
<errors>
</errors>
<seealso>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TIBConnection.GetHandle.Result">
<short></short>
</element>

Shouldn't the TIBConnection.GetHandle.Result function result visibility
be protected as well?
I understand that the function result is... let's say "default" with
respect to the fact that if you can call the protected function you get
the result as well, but it might make it easier for people like me (and
perhaps tools) to ignore these when writing documentation for end users...

Thanks,
Reinier



More information about the fpc-pascal mailing list