Hide every symbol except ZNCModInfo from modules.

This means that now it's possible to have the same class names in
different modules, which reduces chances of weird errors.

Thanks to mclc for noticing this.
This commit is contained in:
Alexey Sokolov
2011-07-15 22:56:47 +07:00
parent efda366d44
commit ea58912093
4 changed files with 21 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ public:
class CModPython;
#if HAVE_VISIBILITY
#pragma GCC visibility push(default)
#endif
class CPyModule : public CModule {
PyObject* m_pyObj;
CModPython* m_pModPython;
@@ -224,3 +227,6 @@ public:
}
};
#if HAVE_VISIBILITY
#pragma GCC visibility pop
#endif