[fpc-devel] Propose: change TComponent.Tag from longint to PtrInt

AleŇ° Katona almindor at gmail.com
Wed Sep 6 10:30:12 CEST 2006


The problem here is that if you introduce a changing type to Tag, you're
going to break streaming of the components between various platforms.
However I think simplest would be to simply make the tag something huge
for years to come, like Int64.

The idea with hidden union is nice tho. But you'll need to know how to
stream it precisely and there's also endianness to take care of then.

Ales




More information about the fpc-devel mailing list