flext 0.6.2
flpushns.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 #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
#define FLEXT_CAST
Switch for compilation of derived virtual classes.
Definition fldefs.h:27