/* Header file for targets using CGEN: Cpu tools GENerator.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of GDB, the GNU debugger, and the GNU Binutils.
/* ??? IWBN to replace bfd in the name. */
#include "bfd_stdint.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ??? This file requires bfd.h but only to get bfd_vma.
Seems like an awful lot to require just to get such a fundamental type.
Perhaps the definition of bfd_vma can be moved outside of bfd.h.
/* Will an error message be generated if a signed field in an instruction overflows ? */
extern unsigned int cgen_signed_overflow_ok_p (CGEN_CPU_DESC);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* OPCODE_CGEN_H */