src/string.h
changeset 8113 31b7784db761
parent 7510 95e12eac1b6d
equal deleted inserted replaced
8112:24b89cd40bfd 8113:31b7784db761
     3 /** @file string.h */
     3 /** @file string.h */
     4 
     4 
     5 #ifndef STRING_H
     5 #ifndef STRING_H
     6 #define STRING_H
     6 #define STRING_H
     7 
     7 
     8 #include "macros.h"
     8 #include "core/bitmath_func.hpp"
     9 
     9 
    10 /**
    10 /**
    11  * usage ttd_strlcpy(dst, src, lengthof(dst));
    11  * usage ttd_strlcpy(dst, src, lengthof(dst));
    12  * @param dst destination buffer
    12  * @param dst destination buffer
    13  * @param src string to copy/concatenate
    13  * @param src string to copy/concatenate