Files
gnucash/src/calculation/numeric_ops.h
T
Dave Peticolas 58e0f71949 Clean up expression parser and calculation code.
Add in extra error handling for expression parser.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2829 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-12 01:01:39 +00:00

40 lines
1.7 KiB
C

/***************************************************************************
* -------------------
* create : Tue Jul 11 20:21:18 2000
* copyright: (C) 2000 by Terry D. Boldt
* email : tboldt@attglobal.net
* -------------------
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/***************************************************************************
* Global Function Prototypes
* Tue Jul 11 20:21:18 2000
*
***************************************************************************/
#ifndef __NUMERIC_OPS_H__
#define __NUMERIC_OPS_H__
void *trans_numeric(const char *str, /* pointer to string to translate */
char radix_point, /* radix character */
char group_char, /* grouping character to left of radix */
char **endstr); /* where to return pointer to first
* unrecognized character */
void free_numeric(void *numeric_value);
void *negate_numeric(void *value);
void *numeric_ops(char op_symbol,
void *l_value,
void *r_value);
#endif