flext  0.6.0
flpushns.h
Go to the documentation of this file.
1 /*
2 flext - C++ layer for Max and Pure Data externals
3 
4 Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
5 For information on usage and redistribution, and for a DISCLAIMER OF ALL
6 WARRANTIES, see the file, "license.txt," in this distribution.
7 */
8 
9 #ifdef FLEXT_USE_NAMESPACE
10 
11 #ifndef _FLEXT_IN_NAMESPACE
12  #define _FLEXT_IN_NAMESPACE 0
13 #endif
14 
15 #if _FLEXT_IN_NAMESPACE == 0
16 
17  #if 1 //defined(FLEXT_SHARED)
18  namespace flext_ns {
19  #elif defined(__GNUC__)
20  namespace { // anonymous namespace (don't export symbols)
21  #endif
22 
23 #endif
24 
25 #define __FLEXT_IN_NAMESPACE (_FLEXT_IN_NAMESPACE+1)
26 #undef _FLEXT_IN_NAMESPACE
27 #define _FLEXT_IN_NAMESPACE __FLEXT_IN_NAMESPACE
28 #undef __FLEXT_IN_NAMESPACE
29 
30 #endif