~ubuntu-branches/ubuntu/karmic/python-scipy/karmic

« back to all changes in this revision

Viewing changes to Lib/xplt/src/play/extern_c.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T. Chen (new)
  • Date: 2005-03-16 02:15:29 UTC
  • Revision ID: james.westby@ubuntu.com-20050316021529-xrjlowsejs0cijig
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* get this ugliness out of important header files */
 
2
#ifndef BEGIN_EXTERN_C
 
3
# if defined(__cplusplus) || defined(c_plusplus)
 
4
#  define BEGIN_EXTERN_C extern "C" {
 
5
#  define END_EXTERN_C }
 
6
# else
 
7
#  define BEGIN_EXTERN_C
 
8
#  define END_EXTERN_C
 
9
# endif
 
10
#endif
 
11
BEGIN_EXTERN_C