[ARC] C++ compatibility for arc-dis.h
opcodes/ 2016-08-24 Anton Kolesov <Anton.Kolesov@synopsys.com> * arc-dis.h: Wrap around in extern "C". Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
This commit is contained in:
parent
47f7f636bc
commit
ab548d2db9
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-08-24 Anton Kolesov <Anton.Kolesov@synopsys.com>
|
||||
|
||||
* arc-dis.h: Wrap around in extern "C".
|
||||
|
||||
2016-08-23 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* aarch64-tbl.h (V8_2_INSN): New macro.
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
#ifndef ARCDIS_H
|
||||
#define ARCDIS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum ARC_Debugger_OperandType
|
||||
{
|
||||
ARC_UNDEFINED,
|
||||
|
@ -102,4 +106,9 @@ struct arcDisState
|
|||
|
||||
struct arcDisState
|
||||
arcAnalyzeInstr (bfd_vma memaddr, struct disassemble_info *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue