summaryrefslogtreecommitdiff
path: root/libgphoto2_port/gphoto2
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2021-11-28 11:03:07 +0100
committerMarcus Meissner <marcus@jet.franken.de>2021-11-28 11:03:20 +0100
commitf24715260c3a62a71200120d3ddb90784d3b14a6 (patch)
tree6e838370f3991d69131d70532673424115ec2ea5 /libgphoto2_port/gphoto2
parent3833721e859401b5a6d677e86ca95308d2a01ff6 (diff)
downloadlibgphoto2-f24715260c3a62a71200120d3ddb90784d3b14a6.tar.gz
added c++ wrappers
Diffstat (limited to 'libgphoto2_port/gphoto2')
-rw-r--r--libgphoto2_port/gphoto2/gphoto2-port-log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-log.h b/libgphoto2_port/gphoto2/gphoto2-port-log.h
index 10cb49878..aa8be0026 100644
--- a/libgphoto2_port/gphoto2/gphoto2-port-log.h
+++ b/libgphoto2_port/gphoto2/gphoto2-port-log.h
@@ -23,6 +23,10 @@
#include <stdarg.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/**
* \brief Logging level
* Specifies the logging severity level.
@@ -236,5 +240,8 @@ __attribute__((__format__(printf,4,5)))
} while(0)
#endif /* _GPHOTO2_INTERNAL_CODE */
+#ifdef __cplusplus
+};
+#endif /* __cplusplus */
#endif /* !defined(LIBGPHOTO2_GPHOTO2_PORT_LOG_H) */