added DynStringShorten
This commit is contained in:
@ -96,6 +96,10 @@ int DynStringBackspace(pDynString self);
|
|||||||
/*
|
/*
|
||||||
removes one character at the end from the dynstring
|
removes one character at the end from the dynstring
|
||||||
*/
|
*/
|
||||||
|
int DynStringShorten(pDynString self, int length);
|
||||||
|
/*
|
||||||
|
shorten the dynstring to the given length
|
||||||
|
*/
|
||||||
char *Dyn2Cstring(pDynString self);
|
char *Dyn2Cstring(pDynString self);
|
||||||
/*
|
/*
|
||||||
convert to C string and delete dynstring. The result must be freed when no longer used.
|
convert to C string and delete dynstring. The result must be freed when no longer used.
|
||||||
|
Reference in New Issue
Block a user