751 ctx.delim_more = NULL; |
751 ctx.delim_more = NULL; |
752 ctx.delim_more_count = 0; |
752 ctx.delim_more_count = 0; |
753 return ctx; |
753 return ctx; |
754 } |
754 } |
755 |
755 |
756 CxStrtokCtx cx_strtok_m( |
|
757 cxmutstr str, |
|
758 cxstring delim, |
|
759 size_t limit |
|
760 ) { |
|
761 return cx_strtok(cx_strcast(str), delim, limit); |
|
762 } |
|
763 |
|
764 bool cx_strtok_next( |
756 bool cx_strtok_next( |
765 CxStrtokCtx *ctx, |
757 CxStrtokCtx *ctx, |
766 cxstring *token |
758 cxstring *token |
767 ) { |
759 ) { |
768 // abortion criteria |
760 // abortion criteria |