This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new fc75d4986 NO-JIRA: Allow pni_value_dump() to be used from C++ tests
fc75d4986 is described below
commit fc75d4986d4706a5195a8471a5254b9a71c59d63
Author: Andrew Stitcher <[email protected]>
AuthorDate: Wed Jul 12 15:56:31 2023 -0400
NO-JIRA: Allow pni_value_dump() to be used from C++ tests
---
c/src/core/value_dump.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/c/src/core/value_dump.h b/c/src/core/value_dump.h
index 0f6418f5a..17705347b 100644
--- a/c/src/core/value_dump.h
+++ b/c/src/core/value_dump.h
@@ -24,9 +24,17 @@
#include "proton/types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pn_fixed_string_t;
size_t pni_value_dump(pn_bytes_t frame, struct pn_fixed_string_t *output);
PN_EXTERN size_t pn_value_dump(pn_bytes_t frame, char *output, uint32_t size);
+#ifdef __cplusplus
+}
+#endif
+
#endif // PROTON_VALUE_DUMP_H
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]