892 * @param string the string to duplicate |
892 * @param string the string to duplicate |
893 * @return (@c cxmutstr) a duplicate of the string |
893 * @return (@c cxmutstr) a duplicate of the string |
894 * @see cx_strdup_a() |
894 * @see cx_strdup_a() |
895 * @see cx_strfree() |
895 * @see cx_strfree() |
896 */ |
896 */ |
897 #define cx_strdup(string) cx_strdup_a_(cxDefaultAllocator, string) |
897 #define cx_strdup(string) cx_strdup_a(cxDefaultAllocator, string) |
898 |
898 |
899 /** |
899 /** |
900 * Omits leading and trailing spaces. |
900 * Omits leading and trailing spaces. |
901 * |
901 * |
902 * @note the returned string references the same memory, thus you |
902 * @note the returned string references the same memory, thus you |