Table of Contents

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Name

freeExpr - frees an expression.

Synopsys

#include logmmm.h"
void freeExpr(expr)
chain_list *expr;

Parameter

expr
Expression to free.

Description

freeExpr() frees an expression (operator expression or atomic expression) by giving back to MBK allocator system all the chain_list doublets used in expr. It's very important to call freeExpr as often as possible to minimize memory use. Many functions like copyExpr() or flatPolarityExpr() create new ABLs , so great care should be taken concerning memory allocation problems. For each example given in this documentation, the freeExpr() function is called as often as possible.

Example

#include mutnnn.h
/* mbk utilities */ #include logmmm.h" chain_list *expr; expr = createExpr(OR); addHExpr(expr,createAtom("var1")); addHExpr(expr,createAtom("var2")); freeExpr(expr);

See Also

log(1) , abl(1) , createAtom(3) , createExpr(3) , notExpr(3) , createBinExpr(3) , addQExpr(3) , addHExpr(3) .

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/

Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.