yw_string_free

Name

yw_string_free -- release memory occupied by string

Synopsis


     #include <yw/string.h>
   

void yw_string_free(YwString *s);

DESCRIPTION

This function releases vectors of characters, *s->chars points to. You should note that it doesn't free s itself. Regular use:

       YwString str;
       ...
       yw_string_assign_cstring(&str, NULL, "Hello world!", -1);
       ...
       yw_string_concat(&str, some_other);
       ...
       yw_string_free(&str);
    

SEE ALSO

yw_string_assign_cstring (3), yw_free (3),

INFO

Generated from: string.c,v 1.6 2001/05/23 08:46:01 malekith Exp.