Print build time only in debug mode
This commit is contained in:
1 parent
ea515048e9
commit
46e2d280a8
1 file changed
+2
@@ -10738,7 +10738,9 @@ initpybullet(void)
|
|||||||
SpamError = PyErr_NewException("pybullet.error", NULL, NULL);
|
SpamError = PyErr_NewException("pybullet.error", NULL, NULL);
|
||||||
Py_INCREF(SpamError);
|
Py_INCREF(SpamError);
|
||||||
PyModule_AddObject(m, "error", SpamError);
|
PyModule_AddObject(m, "error", SpamError);
|
||||||
|
#ifndef NDEBUG
|
||||||
printf("pybullet build time: %s %s\n", __DATE__, __TIME__);
|
printf("pybullet build time: %s %s\n", __DATE__, __TIME__);
|
||||||
|
#endif
|
||||||
|
|
||||||
Py_AtExit(b3pybulletExitFunc);
|
Py_AtExit(b3pybulletExitFunc);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user