1 //===-EDMain.cpp - LLVM Enhanced Disassembly C API ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the enhanced disassembler's public C API.
12 //===----------------------------------------------------------------------===//
14 #include <llvm-c/EnhancedDisassembly.h>
16 int EDGetDisassembler(EDDisassemblerRef *disassembler,
18 EDAssemblySyntax_t syntax) {