[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33377] trunk/blender/source/blender/ blenlib/BLI_string.h: Description of BLI_strncpy() and BLI_strdupcat() were mixed up.
Ton Roosendaal
ton at blender.org
Mon Nov 29 15:29:30 CET 2010
Revision: 33377
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33377
Author: ton
Date: 2010-11-29 15:29:30 +0100 (Mon, 29 Nov 2010)
Log Message:
-----------
Description of BLI_strncpy() and BLI_strdupcat() were mixed up.
IRC reported by OniNiubbo
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/BLI_string.h
Modified: trunk/blender/source/blender/blenlib/BLI_string.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_string.h 2010-11-29 13:14:51 UTC (rev 33376)
+++ trunk/blender/source/blender/blenlib/BLI_string.h 2010-11-29 14:29:30 UTC (rev 33377)
@@ -57,6 +57,14 @@
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 @@
* 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'
More information about the Bf-blender-cvs
mailing list