intel: common: make intel utils available from C++

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
This commit is contained in:
Lionel Landwerlin
2017-09-27 20:57:28 +01:00
parent ea14ba0179
commit cab93a901e
3 changed files with 25 additions and 0 deletions

View File

@@ -24,6 +24,10 @@
#ifndef GEN_DISASM_H
#define GEN_DISASM_H
#ifdef __cplusplus
extern "C" {
#endif
struct gen_disasm;
struct gen_disasm *gen_disasm_create(int pciid);
@@ -32,4 +36,8 @@ void gen_disasm_disassemble(struct gen_disasm *disasm,
void gen_disasm_destroy(struct gen_disasm *disasm);
#ifdef __cplusplus
}
#endif
#endif /* GEN_DISASM_H */