[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 18/19] plugins: Support C++
From: |
Akihiko Odaki |
Subject: |
[PATCH v8 18/19] plugins: Support C++ |
Date: |
Sat, 16 Sep 2023 17:01:35 +0900 |
Make qemu-plugin.h consumable for C++ platform.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
include/qemu/qemu-plugin.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 40aae8db68..55f514ca6c 100644
--- a/include/qemu/qemu-plugin.h
+++ b/include/qemu/qemu-plugin.h
@@ -16,6 +16,8 @@
#include <stdbool.h>
#include <stddef.h>
+G_BEGIN_DECLS
+
/*
* For best performance, build the plugin with -fvisibility=hidden so that
* QEMU_PLUGIN_LOCAL is implicit. Then, just mark qemu_plugin_install with
@@ -710,4 +712,6 @@ int qemu_plugin_find_register(unsigned int vcpu_index, int
file,
*/
int qemu_plugin_read_register(GByteArray *buf, int reg);
+G_END_DECLS
+
#endif /* QEMU_QEMU_PLUGIN_H */
--
2.42.0
- [PATCH v8 07/19] gdbstub: Use GDBFeature for gdb_register_coprocessor, (continued)
- [PATCH v8 07/19] gdbstub: Use GDBFeature for gdb_register_coprocessor, Akihiko Odaki, 2023/09/16
- [PATCH v8 08/19] gdbstub: Use GDBFeature for GDBRegisterState, Akihiko Odaki, 2023/09/16
- [PATCH v8 10/19] gdbstub: Simplify XML lookup, Akihiko Odaki, 2023/09/16
- [PATCH v8 11/19] gdbstub: Infer number of core registers from XML, Akihiko Odaki, 2023/09/16
- [PATCH v8 09/19] gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb, Akihiko Odaki, 2023/09/16
- [PATCH v8 12/19] hw/core/cpu: Remove gdb_get_dynamic_xml member, Akihiko Odaki, 2023/09/16
- [PATCH v8 13/19] gdbstub: Add members to identify registers to GDBFeature, Akihiko Odaki, 2023/09/16
- [PATCH v8 14/19] gdbstub: Expose functions to read registers, Akihiko Odaki, 2023/09/16
- [PATCH v8 15/19] cpu: Call plugin hooks only when ready, Akihiko Odaki, 2023/09/16
- [PATCH v8 17/19] contrib/plugins: Allow to log registers, Akihiko Odaki, 2023/09/16
- [PATCH v8 18/19] plugins: Support C++,
Akihiko Odaki <=
- [PATCH v8 19/19] contrib/plugins: Add cc plugin, Akihiko Odaki, 2023/09/16
- [PATCH v8 16/19] plugins: Allow to read registers, Akihiko Odaki, 2023/09/16