[fpc-pascal] Group arguments from overloaded functions in fpdoc

dhkblaszyk at zeelandnet.nl dhkblaszyk at zeelandnet.nl
Fri Jan 6 17:19:36 CET 2012


> In our previous episode, dhkblaszyk at zeelandnet.nl said:
>> > See also
>> > http://bugs.freepascal.org/view.php?id=14843
>> >
>> Could XML attributes be used to distinguish overloaded functions? eg
>>      <element name="UIContext.doButton.Result">
>>         <short result="boolean">boolean result</short>
>>         <short result="integer">integer result</short>
>>       </element>
>>
>> It should be relatively easy to implement I presume, not break any
>> existing documentation and it would solve the overload problem.
>
> The result-type is not enough to disambiguate overloaded versions. You
> would
> need a full signature.

You're right. We could calculate the checksum of the function declaration
section and use that as a unique identifier.

Darius




More information about the fpc-pascal mailing list