FreeBASIC  0.91.0
str_del.c
Go to the documentation of this file.
1 /* string deletion function */
2 
3 #include "fb.h"
4 
5 /*:::::*/
7 {
8  if( (str == NULL) || (str->data == NULL) )
9  return;
10 
11  free( (void *)str->data );
12 
13  str->data = NULL;
14  str->len = 0;
15  str->size = 0;
16 }