[fpc-pascal] RTTI Attributes

Sven Barth pascaldragon at googlemail.com
Tue Sep 24 16:24:40 CEST 2013


Am 24.09.2013 16:13, schrieb Anthony Walter:
> I did some google searching which turned up very little so I decided 
> to ask my question here.
>
> What is the current status of custom RTTI attributes in fpc trunk? Fot 
> those who don't understand what I am asking about, here is an example.
They are not implemented in trunk. Joost is working on them in a branch 
though: 
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/joost/classattributes/
>
> type
>   [AttrWithConstructor('Added text value!')]
>   TRecord = record
>     FField: Integer;
>   end;
>
AFAIK in that branch they are currently only supported for classes.

Regards,
Sven



More information about the fpc-pascal mailing list