Toolboxlib question
William Harden (2174) 244 posts |
Hi, ResDisplay uses a file which is stored in Toolbox.common.objects.h. If you want to build Toolboxlib to support your object, does anyone know the relationship between files in common and those in Libs.toolboxlib.h ? The objects look strongly related (but with function declarations in Toolboxlib which aren’t in common, and some slight differences in the definitions of the Structs) suggesting that the h file is being built from that somehow, but can’t see that. Is one file processed from the other somewhere, or is the toolbox lib file hand-built from the common file? There seems to be a lot of duplication here. |
Jeffrey Lee (213) 6048 posts |
When I looked at this while fixing a toolbox bug a year or two ago I think I came to the conclusion that at one point some tools were being developed for automatically generating the SWI veneers and associated header files (see the docs here). However it looks like those tools were never fully finished or were abandoned – so although most of toolboxlib was initially machine-generated it’s now being hand-modified to fix bugs and to keep it in sync with the latest changes to the toolbox modules. That’s about all that I know on the matter – sorry! |