Commit | Line | Data |
---|---|---|
c67daf87 | 1 | /* ////////////////////////////////////////////////////////////////////////// |
10b959e3 JS |
2 | // Name: expr.h |
3 | // Purpose: C helper defines and functions for wxExpr class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) | |
9 | // Licence: wxWindows licence | |
c67daf87 | 10 | ////////////////////////////////////////////////////////////////////////// */ |
10b959e3 | 11 | |
34138703 JS |
12 | #ifndef _WX_EXPRH__ |
13 | #define _WX_EXPRH__ | |
10b959e3 JS |
14 | |
15 | #include <math.h> | |
9dea36ef DW |
16 | #if defined(__VISAGECPP__) && __IBMCPP__ >= 400 |
17 | # undef __BSEXCPT__ | |
18 | #endif | |
10b959e3 JS |
19 | #include <stdlib.h> |
20 | ||
21 | #ifdef ____HPUX__ | |
22 | #define alloca malloc | |
23 | #endif | |
24 | ||
10b959e3 JS |
25 | |
26 | #ifdef __cplusplus | |
27 | extern "C" { | |
28 | char *proio_cons(char *, char *); | |
5b077d48 RR |
29 | char * wxmake_integer(char *); |
30 | char * wxmake_word(char *); | |
31 | char * wxmake_string(char *); | |
32 | char * wxmake_real(char *, char *); | |
33 | char * wxmake_exp(char *, char *); | |
34 | char * wxmake_exp2(char *, char *, char*); | |
10b959e3 JS |
35 | void add_expr(char *); |
36 | void process_command(char *); | |
37 | void syntax_error(char *); | |
38 | } | |
39 | #else | |
54da4255 | 40 | #if defined(__BORLANDC__) || defined(__VISAGECPP__) |
10b959e3 | 41 | char *proio_cons(char *, char *); |
5b077d48 RR |
42 | char * wxmake_integer(char *); |
43 | char * wxmake_word(char *); | |
44 | char * wxmake_string(char *); | |
45 | char * wxmake_real(char *, char *); | |
46 | char * wxmake_exp(char *, char *); | |
47 | char * wxmake_exp2(char *, char *, char*); | |
10b959e3 JS |
48 | void add_expr(char *); |
49 | void process_command(char *); | |
50 | void syntax_error(char *); | |
54da4255 | 51 | int lex_input(void); |
10b959e3 JS |
52 | #else |
53 | char *proio_cons(); | |
5b077d48 RR |
54 | char * wxmake_integer(); |
55 | char * wxmake_word(); | |
56 | char * wxmake_string(); | |
57 | char * wxmake_real(); | |
58 | char * wxmake_exp(); | |
59 | char * wxmake_exp2(); | |
10b959e3 JS |
60 | |
61 | void add_expr(); | |
62 | void process_command(); | |
63 | void syntax_error(); | |
64 | #endif | |
65 | #endif | |
66 | ||
67 | #endif | |
c67daf87 | 68 | /* _WX_EXPRH__ */ |