diff options
author | Lionel Landwerlin <[email protected]> | 2017-09-27 20:57:28 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-11-01 17:23:49 +0000 |
commit | cab93a901e14e97d4d243e4a451521dad957f0ac (patch) | |
tree | 0644b03ec24dbab596a48c15f7c0eb71967b4947 /src/intel/tools | |
parent | ea14ba01791c5f29eb235c77ff0fe34ad8cd29e7 (diff) |
intel: common: make intel utils available from C++
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/tools')
-rw-r--r-- | src/intel/tools/gen_disasm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/tools/gen_disasm.h b/src/intel/tools/gen_disasm.h index 24b56c9a8e1..d2764bb90b7 100644 --- a/src/intel/tools/gen_disasm.h +++ b/src/intel/tools/gen_disasm.h @@ -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 */ |