84 |
|
* the mg_handle function rather than the mg_ehand routines directly. |
85 |
|
* (The first argument to mg_handle is the entity #, or -1.) |
86 |
|
* To free any data structures and clear the parser, use mg_clear. |
87 |
< |
* If there is an error, mg_load, mg_open, mg_parse, and mg_rewind |
88 |
< |
* will return an error from the list above. In addition, mg_load |
89 |
< |
* will report the error to stderr. The mg_read routine returns 0 |
90 |
< |
* when the end of file has been reached. |
87 |
> |
* If there is an error, mg_load, mg_open, mg_parse, mg_handle and |
88 |
> |
* mg_rewind will return an error from the list above. In addition, |
89 |
> |
* mg_load will report the error to stderr. The mg_read routine |
90 |
> |
* returns 0 when the end of file has been reached. |
91 |
|
*/ |
92 |
|
|
93 |
|
#define MG_MAXLINE 512 /* maximum input line length */ |
237 |
|
11,8,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},\ |
238 |
|
106770L, .167, .009 } |
239 |
|
|
240 |
< |
#define c_cval(c,l) ((double)(c)->ssamp[((l)-C_MINWL)/C_CWLI] / (c)->sum) |
240 |
> |
#define c_cval(c,l) ((double)(c)->ssamp[((l)-C_MINWL)/C_CWLI] / (c)->ssum) |
241 |
|
|
242 |
|
typedef struct { |
243 |
|
int clock; /* incremented each change -- resettable */ |