• Robert Sprowson's avatar
    Const-ify toolboxlib · 8b41f5b9
    Robert Sprowson authored
    Get the pointer type right for those things that are really const (generally, these are the <gadget>_set_<thing> methods), to benefit from tighter type checking, and to avoid having to add needless casts back to the non-const type.
    * Update the heading blocks for the exported headers to refer to RISC OS generically rather than Archimedes and Risc PC specifically
    * Backfill into the defs those methods that have been added by hand over the years
    * Correct the type for toolbox_template_lookup() which returns an ObjectTemplateHeader pointer
    * Remove redundant defs/sliderold
    * Add missing library entries for stringset_set_font and actionbutton_set_font, both of which appear in the headers and User Interface Toolbox manual but had no supporting implementation
    * Embedded __version symbols are taken from VersionNum
    
    As the generated C files now have licence prefixes of various vintages, the updated sources were generated with !MethodGen then the differences merged by hand.
    Tested in an IOMDHAL ROM build (so the Toolbox modules themselves build), and a Disc build (where there are several Toolbox applications). The exported headers are self consistent, because these are included by ToolboxLib itself, and hence checked by the compiler.
    
    Version 1.17. Tagged as 'ToolboxLib-1_17'
    8b41f5b9
Name
Last commit
Last update
eventlib Loading commit data...
flexlib Loading commit data...
renderlib Loading commit data...
toolboxlib Loading commit data...
wimplib Loading commit data...
!MkClean,fd7 Loading commit data...
!MkExport,fd7 Loading commit data...
.gitattributes Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
VersionASM Loading commit data...
VersionNum Loading commit data...