Author: gsim Date: Fri Oct 10 12:56:37 2014 New Revision: 1630850 URL: http://svn.apache.org/r1630850 Log: PROTON-693: Export pn_url... symbols as C not C++
Modified: qpid/proton/branches/examples/proton-c/include/proton/url.h Modified: qpid/proton/branches/examples/proton-c/include/proton/url.h URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/include/proton/url.h?rev=1630850&r1=1630849&r2=1630850&view=diff ============================================================================== --- qpid/proton/branches/examples/proton-c/include/proton/url.h (original) +++ qpid/proton/branches/examples/proton-c/include/proton/url.h Fri Oct 10 12:56:37 2014 @@ -21,6 +21,11 @@ #include <proton/import_export.h> +#ifdef __cplusplus +extern "C" { +#endif + + /** @file * URL API for parsing URLs. * @@ -85,4 +90,9 @@ PN_EXTERN void pn_url_set_path(pn_url_t ///@} ///@} + +#ifdef __cplusplus +} +#endif + #endif --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org