Skip to content
Snippets Groups Projects
  • Jonathan Schöbel's avatar
    a0c9bb25
    Validator: restructured internal data · a0c9bb25
    Jonathan Schöbel authored
    The Validator saves the tags as an array. Now also another information
    is added, which slots aren't used currently to spare expensive calls to
    realloc. This led to a mere reimplementation of the functions. Tags
    can't be deleted by now, but the adding function supports reusing empty
    slots. Also the reading functions have to determine, whether a slot can
    be read or is empty.
    The tests were adjusted, but are buggy, so they should be rewritten in
    the future.
    
    Additionaly some annotations for splint were added.
    a0c9bb25
    History
    Validator: restructured internal data
    Jonathan Schöbel authored
    The Validator saves the tags as an array. Now also another information
    is added, which slots aren't used currently to spare expensive calls to
    realloc. This led to a mere reimplementation of the functions. Tags
    can't be deleted by now, but the adding function supports reusing empty
    slots. Also the reading functions have to determine, whether a slot can
    be read or is empty.
    The tests were adjusted, but are buggy, so they should be rewritten in
    the future.
    
    Additionaly some annotations for splint were added.