mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user