freerdsfig − frees memory associated to a figure
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance−users AT asim DOT lip6 DOT fr
#include "rdsnnn.h"
void freerdsfig( Figure )
rdsfig_list ∗Figure;
Figure |
it’s the pointer of the figure to be deleted. |
This function free the memory associated to the figure. Memory place used by the Pointers of the rdsfig_list structure is not free so the user has to free these pointers before calling the freerdsfig function.
nothing
none
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
main() |
||
{ |
||
rdsfig_list ∗Figure; |
mbkenv();
rdsenv();
loadrdsparam();
Figure = allocrdsfig (); |
|
Figure->NAME = rdsalloc(strlen("core")+1,RDS_ALLOC_BLOCK); |
|
strcpy(Figure->NAME,"core"); |
|
... |
|
rdsfree (Figure->NAME,RDS_ALLOC_BLOCK); |
|
/∗ ∗/ freerdsfig ( Figure,RDS_ALLOC_BLOCK); |
|
} |
librds, allocrdsfig
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.