From 9ef4282e9e32e857f4d0cac9df6d58f2cba159f4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 3 Mar 2004 03:47:04 +0000 Subject: [lcd4linux @ 2004-03-03 03:47:04 by reinelt] big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- evaluator.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'evaluator.h') diff --git a/evaluator.h b/evaluator.h index 9ace102..35e2981 100644 --- a/evaluator.h +++ b/evaluator.h @@ -1,4 +1,4 @@ -/* $Id: evaluator.h,v 1.3 2004/01/12 03:51:01 reinelt Exp $ +/* $Id: evaluator.h,v 1.4 2004/03/03 03:47:04 reinelt Exp $ * * expression evaluation * @@ -10,6 +10,13 @@ * FIXME: GPL or not GPL???? * * $Log: evaluator.h,v $ + * Revision 1.4 2004/03/03 03:47:04 reinelt + * big patch from Martin Hejl: + * - use qprintf() where appropriate + * - save CPU cycles on gettimeofday() + * - add quit() functions to free allocated memory + * - fixed lots of memory leaks + * * Revision 1.3 2004/01/12 03:51:01 reinelt * evaluating the 'Variables' section in the config file * @@ -92,6 +99,8 @@ int SetVariable (char *name, RESULT *value); int AddNumericVariable (char *name, double value); int AddStringVariable (char *name, char *value); int AddFunction (char *name, int args, void (*func)()); +void DeleteVariables (void); +void DeleteFunctions (void); RESULT* SetResult (RESULT **result, int type, void *value); -- cgit v1.2.3