Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96637181
fr_sq_point.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 29, 08:20
Size
1 KB
Mime Type
text/x-c
Expires
Tue, Dec 31, 08:20 (2 d)
Engine
blob
Format
Raw Data
Handle
23218875
Attached To
R1448 Lenstool-HPC
fr_sq_point.c
View Options
/**********************************************************/
/* */
/* FUNCTION: free_square_point */
/* */
/* PURPOSE: Frees a complex square of point allocated */
/* dynamically by alloc_square_point() */
/* */
/* INPUT: square = complex pointer to matrix of pointers */
/* nbr_lin = number of lines */
/* */
/* VERSION: 1.1 March 1992 */
/* */
/* AUTHOR: Karim BOUYOUCEF */
/* */
/**********************************************************/
#include <stdlib.h>
#include "structure.h"
void fr_sq_point(struct point **square, int nbr_lin)
{
register int i;
for (i = 0; i < nbr_lin; i++)
free((struct point *) square[i]);
free((struct point *) square);
}
Event Timeline
Log In to Comment