From f532be1b26d0a60d47c467254c78b9a4989a5af2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 3 Aug 2009 16:18:26 +0000 Subject: s/opcode/opcode_t/ svn path=/trunk/libcss/; revision=9020 --- src/bytecode/bytecode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bytecode') diff --git a/src/bytecode/bytecode.h b/src/bytecode/bytecode.h index 9872d46..f378585 100644 --- a/src/bytecode/bytecode.h +++ b/src/bytecode/bytecode.h @@ -14,7 +14,7 @@ #include #include -typedef enum css_properties_e opcode; +typedef enum css_properties_e opcode_t; enum flag { FLAG_IMPORTANT = (1<<0), @@ -53,12 +53,12 @@ typedef enum shape { SHAPE_RECT = 0 } shape; -static inline uint32_t buildOPV(opcode opcode, uint8_t flags, uint16_t value) +static inline uint32_t buildOPV(opcode_t opcode, uint8_t flags, uint16_t value) { return (opcode & 0x3ff) | (flags << 10) | ((value & 0x3fff) << 18); } -static inline opcode getOpcode(uint32_t OPV) +static inline opcode_t getOpcode(uint32_t OPV) { return (OPV & 0x3ff); } -- cgit v1.2.3