FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
array_eraseobj.c
Go to the documentation of this file.
1
/* ERASE for dynamic arrays of objects: destruct elements and free the array */
2
3
#include "
fb.h
"
4
5
FBCALL
int
fb_ArrayEraseObj
(
FBARRAY
*array,
FB_DEFCTOR
dtor )
6
{
7
fb_ArrayDestructObj
( array, dtor );
8
fb_ArrayErase
( array, 0 );
9
return
fb_ErrorSetNum
(
FB_RTERROR_OK
);
10
}
rtlib
array_eraseobj.c
Generated on Thu Jan 23 2014 19:40:07 for FreeBASIC by
1.8.4