FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
str_del.c
Go to the documentation of this file.
1
/* string deletion function */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
void
fb_StrDelete
(
FBSTRING
*str )
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
}
rtlib
str_del.c
Generated on Thu Jan 23 2014 19:40:13 for FreeBASIC by
1.8.4