In package draw, put in declarations and rework UPDATE-POINTTYPE to quiet warnings...
[maxima.git] / archive / o / plot.h
blob349bd03792061f2485915ff2478880bca8c1d7da
3 /************************************************************************
4 *
5 * Code is modified from the code for Gnuplot by Zou Maorong
6 */
7 /*
8 * G N U P L O T -- plot.h
9 * Copyright (C) 1986, 1987 Thomas Williams, Colin Kelley
10 * You may use this code as you wish if credit is given and this message
11 * is retained.
13 /****************************************************************************/
17 #define memcpy(d,s,l) bcopy(s,d,l)
18 #define top_of_stack stack[s_p]
21 typedef int BOOLEAN;
22 typedef int (*FUNC_PTR)();
25 #define is_jump(operator) ((operator) >=(int)JUMP && (operator) <(int)SF_START)
27 enum DATA_TYPES
29 INT, CMPLX, REAL, UNDEFINED
32 struct cmplx
34 double real, imag;
37 struct value
39 enum DATA_TYPES type;
40 union
42 int int_val;
43 struct cmplx cmplx_val;
44 } v;
48 /****************************************************************************/