Skip to content
  • Friedrich W. H. Kossebau's avatar
    Make const string (arrays) in Kexi and CalligraDB really const · d7bd9832
    Friedrich W. H. Kossebau authored
    const char *x[] is still a variable, being an array of non-const pointers
    to const chars, x[2] = anotherconststring; is still possible.
    const char * const x[] is a const itself, x[2] = anotherconststring; no
    longer possible. And is one indirection less when accessing the data,
    because x is now the symbol of the actual data and not of the variable
    keeping the address of the actual data.
    
    REVIEW: 120326
    
    Thanks Jarosław for review
    d7bd9832