X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=b9be394c59c46a95f1f593e970ac83e4cdb8d7b8;hb=c9b92e317e7426db24fce2636134e1e46eb05d40;hp=b057c2bd62028b2a72ba2c9e4e4b019d49a3c7e5;hpb=5c3291dc396b795696e94f47780308fd7ace6fc4;p=pspp-builds.git diff --git a/src/libpspp/str.h b/src/libpspp/str.h index b057c2bd..b9be394c 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -177,6 +177,7 @@ bool ds_tokenize (const struct string *src, struct substring delimiters, size_t *save_idx, struct substring *token); void ds_rpad (struct string *, size_t length, char pad); void ds_set_length (struct string *, size_t new_length, char pad); +void ds_remove (struct string *, size_t start, size_t n); /* Extracting substrings. */ struct substring ds_ss (const struct string *);