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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to