Mercurial > audlegacy
comparison src/audacious/tuple_compiler.h @ 4383:5794aa593490
Renamed TUP_MAX_VAR to TUPLEZ_MAX_VARS.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Mar 2008 09:05:21 +0200 |
parents | ce3f2d2455cf |
children | 5a0f5ef1de61 |
comparison
equal
deleted
inserted
replaced
4382:53ed80a5b205 | 4383:5794aa593490 |
---|---|
23 #include <glib.h> | 23 #include <glib.h> |
24 #include <mowgli.h> | 24 #include <mowgli.h> |
25 #include "tuple.h" | 25 #include "tuple.h" |
26 | 26 |
27 | 27 |
28 #define TUP_MAX_VARS (4) | 28 #define TUPLEZ_MAX_VARS (4) |
29 | 29 |
30 | 30 |
31 enum { | 31 enum { |
32 OP_RAW = 0, /* plain text */ | 32 OP_RAW = 0, /* plain text */ |
33 OP_FIELD, /* a field/variable */ | 33 OP_FIELD, /* a field/variable */ |
76 } TupleEvalFunc; | 76 } TupleEvalFunc; |
77 | 77 |
78 | 78 |
79 typedef struct _TupleEvalNode { | 79 typedef struct _TupleEvalNode { |
80 gint opcode; /* operator, see OP_ enums */ | 80 gint opcode; /* operator, see OP_ enums */ |
81 gint var[TUP_MAX_VARS]; /* tuple / global variable references */ | 81 gint var[TUPLEZ_MAX_VARS]; /* tuple / global variable references */ |
82 gboolean global[TUP_MAX_VARS]; | 82 gboolean global[TUPLEZ_MAX_VARS]; |
83 gchar *text; /* raw text, if any (OP_RAW) */ | 83 gchar *text; /* raw text, if any (OP_RAW) */ |
84 gint function, expression; /* for OP_FUNCTION and OP_EXPRESSION */ | 84 gint function, expression; /* for OP_FUNCTION and OP_EXPRESSION */ |
85 struct _TupleEvalNode *children, *next, *prev; /* children of this struct, and pointer to next node. */ | 85 struct _TupleEvalNode *children, *next, *prev; /* children of this struct, and pointer to next node. */ |
86 } TupleEvalNode; | 86 } TupleEvalNode; |
87 | 87 |