]> git.saurik.com Git - wxWidgets.git/blame - include/wx/expr.h
Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
[wxWidgets.git] / include / wx / expr.h
CommitLineData
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
27extern "C" {
28char *proio_cons(char *, char *);
5b077d48
RR
29char * wxmake_integer(char *);
30char * wxmake_word(char *);
31char * wxmake_string(char *);
32char * wxmake_real(char *, char *);
33char * wxmake_exp(char *, char *);
34char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
35void add_expr(char *);
36void process_command(char *);
37void syntax_error(char *);
38}
39#else
54da4255 40#if defined(__BORLANDC__) || defined(__VISAGECPP__)
10b959e3 41char *proio_cons(char *, char *);
5b077d48
RR
42char * wxmake_integer(char *);
43char * wxmake_word(char *);
44char * wxmake_string(char *);
45char * wxmake_real(char *, char *);
46char * wxmake_exp(char *, char *);
47char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
48void add_expr(char *);
49void process_command(char *);
50void syntax_error(char *);
54da4255 51int lex_input(void);
10b959e3
JS
52#else
53char *proio_cons();
5b077d48
RR
54char * wxmake_integer();
55char * wxmake_word();
56char * wxmake_string();
57char * wxmake_real();
58char * wxmake_exp();
59char * wxmake_exp2();
10b959e3
JS
60
61void add_expr();
62void process_command();
63void syntax_error();
64#endif
65#endif
66
67#endif
c67daf87 68 /* _WX_EXPRH__ */