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