Reduce visibility of Bullet symbols in PyBullet

Avoids version conflicts in programs using PyBullet, which also link against Bullet libraries
This commit is contained in:
Jannik Vogel
2019-04-08 02:37:19 +02:00
parent 43e164af8a
commit 4ca8b997f9
2 changed files with 5 additions and 0 deletions

View File

@@ -10842,6 +10842,9 @@ static struct PyModuleDef moduledef = {
};
#endif
#if __GNUC__ >= 4
__attribute__((visibility ("default")))
#endif
PyMODINIT_FUNC
#if PY_MAJOR_VERSION >= 3
PyInit_pybullet(void)