forked from mfillpot/mathomatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexterns.h
136 lines (117 loc) · 3.52 KB
/
externs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
* Mathomatic global variable extern definitions, from file "globals.c".
*
* Copyright (C) 1987-2012 George Gesslein II.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
The chief copyright holder can be contacted at gesslein@mathomatic.org, or
George Gesslein II, P.O. Box 224, Lansing, NY 14882-0224 USA.
*/
extern int n_tokens;
extern int n_equations;
extern int cur_equation;
extern token_type *lhs[N_EQUATIONS];
extern token_type *rhs[N_EQUATIONS];
extern int n_lhs[N_EQUATIONS];
extern int n_rhs[N_EQUATIONS];
extern token_type *tlhs;
extern token_type *trhs;
extern token_type *tes;
extern int n_tlhs;
extern int n_trhs;
extern int n_tes;
extern token_type *scratch;
extern token_type zero_token;
extern token_type one_token;
extern int precision;
extern int case_sensitive_flag;
extern int factor_int_flag;
extern int display2d;
extern int fractions_display;
extern int approximate_roots;
extern int preserve_surds;
extern int rationalize_denominators;
extern int modulus_mode;
extern volatile int screen_columns;
extern volatile int screen_rows;
extern int finance_option;
extern int autosolve;
extern int autocalc;
extern int autodelete;
extern int autoselect;
extern char special_variable_characters[256];
extern char plot_prefix[256];
extern int factor_out_all_numeric_gcds;
extern int right_associative_power;
extern int power_starstar;
#if !SILENT
extern int debug_level;
#endif
extern int domain_check;
extern int color_flag;
extern int bold_colors;
extern int text_color;
extern int cur_color;
extern int html_flag;
extern int readline_enabled;
extern int partial_flag;
extern int symb_flag;
extern int symblify;
extern int high_prec;
extern int input_column;
extern int sign_cmp_flag;
extern double small_epsilon;
extern double epsilon;
extern char *prog_name;
extern char *var_names[MAX_VAR_NAMES];
extern char var_str[MAX_VAR_LEN+80];
extern char prompt_str[MAX_PROMPT_LEN];
#if !SECURE
extern char rc_file[MAX_CMD_LEN];
#endif
#if CYGWIN || MINGW
extern char *dir_path;
#endif
#if READLINE || EDITLINE
extern char *last_history_string;
#endif
#if READLINE
extern char *history_filename;
extern char history_filename_storage[MAX_CMD_LEN];
#endif
extern double unique[];
extern int ucnt[];
extern int uno;
extern int previous_return_value;
extern sign_array_type sign_array;
extern FILE *default_out;
extern FILE *gfp;
extern char *gfp_filename;
extern int gfp_append_flag;
extern jmp_buf jmp_save;
extern int eoption;
extern int test_mode;
extern int demo_mode;
extern int quiet_mode;
extern int echo_input;
extern volatile int abort_flag;
extern int pull_number;
extern int security_level;
extern int repeat_flag;
extern int show_usage;
extern int point_flag;
extern char *result_str;
extern int result_en;
extern const char *error_str;
extern const char *warning_str;
extern char *vscreen[TEXT_ROWS];
extern int current_columns;