mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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
40 lines
1.7 KiB
C
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
|