Toolbox object structures
Tom Hughes
tom at compton.nu
Sat Sep 27 13:23:10 BST 2003
What do people think is the best way to handle changes to Toolbox
object structures?
The ProgInfo object gained two members in version 1.01 which aren't
currently in the OSLib version. My preference would be just to add
them to the existing structure - if you reading object from disk then
you're going to have to check the header length and only read that
many bytes anyway so the extra members at the end of the structure
shouldn't be an issue.
I ask because somebody asked on the user list and his suggested
solution was to create a new v101 structure derived from the current
one with the extra members added, but that seems over-complicated.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the oslib-team
mailing list