summaryrefslogtreecommitdiff
path: root/src/xkbcomp/expr.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-07-25 17:29:08 +0300
committerRan Benita <ran234@gmail.com>2012-07-27 01:49:06 +0300
commit724f62c8e3d1e7dd7ffa8e735e91c1d17488e36a (patch)
tree4b7fe6d21949af515abcd0638619a4c429535167 /src/xkbcomp/expr.h
parent35fb8b94cb56d7d0640b1d47359d67841053bfe5 (diff)
Convert defines to enums in xkbcomp.h
For statement / expression types. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/expr.h')
-rw-r--r--src/xkbcomp/expr.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/xkbcomp/expr.h b/src/xkbcomp/expr.h
index 5e51a70..174c1c8 100644
--- a/src/xkbcomp/expr.h
+++ b/src/xkbcomp/expr.h
@@ -47,22 +47,19 @@ typedef struct _LookupEntry {
} LookupEntry;
extern const char *
-exprOpText(unsigned type);
+exprOpText(enum expr_op_type op);
extern bool
LookupModMask(struct xkb_context *ctx, const void *priv, xkb_atom_t field,
- unsigned type,
- ExprResult *val_rtrn);
+ enum expr_value_type type, ExprResult *val_rtrn);
extern bool
LookupVModMask(struct xkb_context *ctx, const void *priv, xkb_atom_t field,
- unsigned type,
- ExprResult *val_rtrn);
+ enum expr_value_type type, ExprResult *val_rtrn);
extern bool
LookupModIndex(struct xkb_context *ctx, const void *priv, xkb_atom_t field,
- unsigned type,
- ExprResult *val_rtrn);
+ enum expr_value_type type, ExprResult *val_rtrn);
extern int
ExprResolveModMask(struct xkb_context *ctx, ExprDef *expr,