summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/opsymbols.h
blob: 94f3878dcb87401a482861653b3bdc38d2742d10 (plain)
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
/*****
 * This file is automatically generated by opsymbols.pl
 * Changes will be overwritten.
 *****/

// If the OPSYMBOL macro is not defined for a specific purpose, define it with
// the default purpose of using SYM_PLUS etc. as external pre-translated
// symbols.

#ifndef OPSYMBOL
#define OPSYMBOL(str, name) extern sym::symbol name
#endif

OPSYMBOL("+", SYM_PLUS);
#ifndef PRESYM
#define SYM_PLUS sym::symbol::opTrans("+")
#endif
OPSYMBOL("-", SYM_MINUS);
#ifndef PRESYM
#define SYM_MINUS sym::symbol::opTrans("-")
#endif
OPSYMBOL("*", SYM_TIMES);
#ifndef PRESYM
#define SYM_TIMES sym::symbol::opTrans("*")
#endif
OPSYMBOL("/", SYM_DIVIDE);
#ifndef PRESYM
#define SYM_DIVIDE sym::symbol::opTrans("/")
#endif
OPSYMBOL("%", SYM_MOD);
#ifndef PRESYM
#define SYM_MOD sym::symbol::opTrans("%")
#endif
OPSYMBOL("^", SYM_CARET);
#ifndef PRESYM
#define SYM_CARET sym::symbol::opTrans("^")
#endif
OPSYMBOL("==", SYM_EQ);
#ifndef PRESYM
#define SYM_EQ sym::symbol::opTrans("==")
#endif
OPSYMBOL("!=", SYM_NEQ);
#ifndef PRESYM
#define SYM_NEQ sym::symbol::opTrans("!=")
#endif
OPSYMBOL("<", SYM_LT);
#ifndef PRESYM
#define SYM_LT sym::symbol::opTrans("<")
#endif
OPSYMBOL("<=", SYM_LE);
#ifndef PRESYM
#define SYM_LE sym::symbol::opTrans("<=")
#endif
OPSYMBOL(">", SYM_GT);
#ifndef PRESYM
#define SYM_GT sym::symbol::opTrans(">")
#endif
OPSYMBOL(">=", SYM_GE);
#ifndef PRESYM
#define SYM_GE sym::symbol::opTrans(">=")
#endif
OPSYMBOL("&&", SYM_CAND);
#ifndef PRESYM
#define SYM_CAND sym::symbol::opTrans("&&")
#endif
OPSYMBOL("||", SYM_COR);
#ifndef PRESYM
#define SYM_COR sym::symbol::opTrans("||")
#endif
OPSYMBOL("!", SYM_LOGNOT);
#ifndef PRESYM
#define SYM_LOGNOT sym::symbol::opTrans("!")
#endif
OPSYMBOL("^^", SYM_CARETS);
#ifndef PRESYM
#define SYM_CARETS sym::symbol::opTrans("^^")
#endif
OPSYMBOL("::", SYM_COLONS);
#ifndef PRESYM
#define SYM_COLONS sym::symbol::opTrans("::")
#endif
OPSYMBOL("++", SYM_INCR);
#ifndef PRESYM
#define SYM_INCR sym::symbol::opTrans("++")
#endif
OPSYMBOL("..", SYM_DOTS);
#ifndef PRESYM
#define SYM_DOTS sym::symbol::opTrans("..")
#endif
OPSYMBOL("--", SYM_DASHES);
#ifndef PRESYM
#define SYM_DASHES sym::symbol::opTrans("--")
#endif
OPSYMBOL("---", SYM_LONGDASH);
#ifndef PRESYM
#define SYM_LONGDASH sym::symbol::opTrans("---")
#endif
OPSYMBOL("&", SYM_AMPERSAND);
#ifndef PRESYM
#define SYM_AMPERSAND sym::symbol::opTrans("&")
#endif
OPSYMBOL("|", SYM_BAR);
#ifndef PRESYM
#define SYM_BAR sym::symbol::opTrans("|")
#endif
OPSYMBOL("controls", SYM_CONTROLS);
#ifndef PRESYM
#define SYM_CONTROLS sym::symbol::opTrans("controls")
#endif
OPSYMBOL("tension", SYM_TENSION);
#ifndef PRESYM
#define SYM_TENSION sym::symbol::opTrans("tension")
#endif
OPSYMBOL("atleast", SYM_ATLEAST);
#ifndef PRESYM
#define SYM_ATLEAST sym::symbol::opTrans("atleast")
#endif
OPSYMBOL("curl", SYM_CURL);
#ifndef PRESYM
#define SYM_CURL sym::symbol::opTrans("curl")
#endif