• marko's avatar
    branches/zip: Remove the casts introduced in r920 and r925. Replace the · e8a779e7
    marko authored
    accessors returning pointers with macros that preserve const qualifiers.
    In UNIV_DEBUG builds, retain the accessors and cast away constness there.
    
    dfield_get_type(), dfield_get_data(), dtuple_get_nth_field(),
    dict_table_get_nth_col(), dict_table_get_sys_col(): Implement as macro
    unless #ifdef UNIV_DEBUG.
    
    rec_get_nth_field(): Replace with rec_get_nth_field_offs() that does not
    do pointer arithmetics.  Implement rec_get_nth_field() as a macro.
    e8a779e7
rem0rec.h 23.5 KB