[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Question on extern "C" logic

From: Paul Burba <pburba_at_collab.net>
Date: 2007-03-22 17:47:41 CET

Recently when Erik added the new private header file svn_wc_private.h I
noticed he didn't include the extern "C" logic:

  #ifdef __cplusplus
  extern "C" {
  #endif /* __cplusplus */

  #ifdef __cplusplus
  }
  #endif /* __cplusplus */

Which seems the correct thing to do since these functions are not part
of Subversion's public API and won't be called by any C++ code. We do
have the extern logic in all the other include/private header files
however. Is this necessary for any reason? I don't really care about
changing this since it seems harmless enough, just want to make sure I
understand it correctly.

Paul B.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 22 17:48:09 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.