• unknown's avatar
    WL#3817: Simplify string / memory area types and make things more consistent (first part) · 1629d809
    unknown authored
    The following type conversions was done:
    
    - Changed byte to uchar
    - Changed gptr to uchar*
    - Change my_string to char *
    - Change my_size_t to size_t
    - Change size_s to size_t
    
    Removed declaration of byte, gptr, my_string, my_size_t and size_s. 
    
    Following function parameter changes was done:
    - All string functions in mysys/strings was changed to use size_t
      instead of uint for string lengths.
    - All read()/write() functions changed to use size_t (including vio).
    - All protocoll functions changed to use size_t instead of uint
    - Functions that used a pointer to a string length was changed to use size_t*
    - Changed malloc(), free() and related functions from using gptr to use void *
      as this requires fewer casts in the code and is more in line with how the
      standard functions work.
    - Added extra length argument to dirname_part() to return the length of the
      created string.
    - Changed (at least) following functions to t...
    1629d809
my_vle.h 1.13 KB