Description of BLI_strncpy() and BLI_strdupcat() were mixed up.
IRC reported by OniNiubbo
This commit is contained in:
@@ -57,6 +57,14 @@ char *BLI_strdup(const char *str);
|
||||
char *BLI_strdupn(const char *str, int len);
|
||||
|
||||
/**
|
||||
* Appends the two strings, and returns new mallocN'ed string
|
||||
* @param str1 first string for copy
|
||||
* @param str2 second string for append
|
||||
* @retval Returns dst
|
||||
*/
|
||||
char *BLI_strdupcat(const char *str1, const char *str2);
|
||||
|
||||
/**
|
||||
* Like strncpy but ensures dst is always
|
||||
* '\0' terminated.
|
||||
*
|
||||
@@ -66,14 +74,6 @@ char *BLI_strdupn(const char *str, int len);
|
||||
* the size of dst)
|
||||
* @retval Returns dst
|
||||
*/
|
||||
char *BLI_strdupcat(const char *str1, const char *str2);
|
||||
|
||||
/**
|
||||
* Appends the two strings, and returns new mallocN'ed string
|
||||
* @param str1 first string for copy
|
||||
* @param str2 second string for append
|
||||
* @retval Returns dst
|
||||
*/
|
||||
char *BLI_strncpy(char *dst, const char *src, int maxncpy);
|
||||
|
||||
/* Makes a copy of the text within the "" that appear after some text 'blahblah'
|
||||
|
||||
Reference in New Issue
Block a user