]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/deprecated/expr.h
wxMotif compilation fix
[wxWidgets.git] / contrib / include / wx / deprecated / expr.h
1 /* //////////////////////////////////////////////////////////////////////////
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
10 ////////////////////////////////////////////////////////////////////////// */
11
12 #ifndef _WX_EXPRH__
13 #define _WX_EXPRH__
14
15 #include <math.h>
16 #if defined(__VISAGECPP__) && __IBMCPP__ >= 400
17 # undef __BSEXCPT__
18 #endif
19 #include <stdlib.h>
20
21 #ifdef ____HPUX__
22 #define alloca malloc
23 #endif
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 char *proio_cons(char *, char *);
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*);
35 void add_expr(char *);
36 void process_command(char *);
37 void syntax_error(char *);
38 }
39 #else
40 #if defined(__BORLANDC__) || defined(__VISAGECPP__)
41 char *proio_cons(char *, char *);
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*);
48 void add_expr(char *);
49 void process_command(char *);
50 void syntax_error(char *);
51 int lex_input(void);
52 #else
53 char *proio_cons();
54 char * wxmake_integer();
55 char * wxmake_word();
56 char * wxmake_string();
57 char * wxmake_real();
58 char * wxmake_exp();
59 char * wxmake_exp2();
60
61 void add_expr();
62 void process_command();
63 void syntax_error();
64 #endif
65 #endif
66
67 #endif
68 /* _WX_EXPRH__ */