home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
400-499
/
ff472.lzh
/
ICalc
/
src
/
function.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-17
|
409b
|
22 lines
/*
* the whole point of the program, really: user-functions.
* These are the routines to implement them.
* Structure definition is in complex.h.
*
* MWS, March 21, 1991.
*/
#include "complex.h"
#include "memory.h"
void clear_ufunc(func)
UserFunc *func;
{
RemKey **oldkey = rem_setkey(&func->remkey);
rem_freeall();
free(func->param->name);
free(func->param);
func->tree = NULL;
rem_setkey(oldkey);
}