src/cx/string.h

changeset 1692
56731bb98508
parent 1680
1aa21afb8763
equal deleted inserted replaced
1691:5e608d0e5bd1 1692:56731bb98508
567 * @see cx_strsubs() 567 * @see cx_strsubs()
568 */ 568 */
569 CX_EXTERN CX_NODISCARD 569 CX_EXTERN CX_NODISCARD
570 cxstring cx_strsubs_(cxstring string, size_t start); 570 cxstring cx_strsubs_(cxstring string, size_t start);
571 571
572 /**
573 * Internal conversion function - do not use.
574 * @param string
575 * @param start
576 * @return
577 */
572 CX_INLINE 578 CX_INLINE
573 cxmutstr cx_strsubs_m_(cxmutstr string, size_t start) { 579 cxmutstr cx_strsubs_m_(cxmutstr string, size_t start) {
574 return cx_mutstrcast(cx_strsubs_(cx_strcast(string), start)); 580 return cx_mutstrcast(cx_strsubs_(cx_strcast(string), start));
575 } 581 }
576 582
583 /**
584 * Internal conversion function - do not use.
585 * @param string
586 * @param start
587 * @param length
588 * @return
589 */
577 CX_INLINE 590 CX_INLINE
578 cxmutstr cx_strsubsl_m_(cxmutstr string, size_t start, size_t length) { 591 cxmutstr cx_strsubsl_m_(cxmutstr string, size_t start, size_t length) {
579 return cx_mutstrcast(cx_strsubsl_(cx_strcast(string), start, length)); 592 return cx_mutstrcast(cx_strsubsl_(cx_strcast(string), start, length));
580 } 593 }
581 594

mercurial