How do I extend IntegralType properly?
Milian Wolff
mail at milianw.de
Fri Apr 10 22:08:34 UTC 2009
On Friday 10 April 2009, David Nolden wrote:
> You have to make sure the type has a unique "Identity", and register it to
> the duchain type register.
>
> See the custom cpp types to see how to do that stuff.
Ah, ok.
Further questions: Do I have to
- implement the hash function? If so, is something like you did for
CppClassType (for example 3 * base-class-hash) enough?
- implement that fastCast stuff?
- introduce my own Data-Class for that type, even if the Data itself doesn't
change at all?
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090411/dc624ee0/attachment.sig>
More information about the KDevelop-devel
mailing list