You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/11/15 21:05:45 UTC

[21/31] qpid-proton git commit: PROTON-1650: Add extern "C" to netaddr.h

PROTON-1650: Add extern "C" to netaddr.h


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/61808383
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/61808383
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/61808383

Branch: refs/heads/go1
Commit: 61808383e7cb50275653c990bc8450e1b97e7d3a
Parents: 705f835
Author: Andrew Stitcher <as...@apache.org>
Authored: Mon Oct 30 10:50:09 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Mon Oct 30 10:50:09 2017 -0400

----------------------------------------------------------------------
 proton-c/include/proton/netaddr.h | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/61808383/proton-c/include/proton/netaddr.h
----------------------------------------------------------------------
diff --git a/proton-c/include/proton/netaddr.h b/proton-c/include/proton/netaddr.h
index bd2f9c1..7f21d93 100644
--- a/proton-c/include/proton/netaddr.h
+++ b/proton-c/include/proton/netaddr.h
@@ -23,6 +23,10 @@
 #include <proton/import_export.h>
 #include <proton/types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file
  *
@@ -73,4 +77,8 @@ PNP_EXTERN size_t pn_netaddr_socklen(const pn_netaddr_t *na);
  * @}
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* PROTON_NETADDR_H */


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org