diff --git a/include/llvm-c/EnhancedDisassembly.h b/include/llvm-c/EnhancedDisassembly.h index 46da1d85cc2..54a42221972 100644 --- a/include/llvm-c/EnhancedDisassembly.h +++ b/include/llvm-c/EnhancedDisassembly.h @@ -51,12 +51,12 @@ typedef int (*EDRegisterReaderCallback)(uint64_t *value, unsigned regID, @typedef EDAssemblySyntax_t An assembly syntax for use in tokenizing instructions. */ -typedef uint32_t EDAssemblySyntax_t; - +typedef enum { /*! @constant kEDAssemblySyntaxX86Intel Intel syntax for i386 and x86_64. */ -const EDAssemblySyntax_t kEDAssemblySyntaxX86Intel = 0; + kEDAssemblySyntaxX86Intel = 0, /*! @constant kEDAssemblySyntaxX86ATT AT&T syntax for i386 and x86_64. */ -const EDAssemblySyntax_t kEDAssemblySyntaxX86ATT = 1; + kEDAssemblySyntaxX86ATT = 1 +} EDAssemblySyntax_t; /*! @typedef EDDisassemblerRef