#include "PythonQtWrapper_QSemaphore.h" #include #include #include #include #include QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) { return new QSemaphore(n); } bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) { return ( theWrappedObject->tryAcquire(n)); } void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) { ( theWrappedObject->release(n)); } int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const { return ( theWrappedObject->available()); } bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) { return ( theWrappedObject->tryAcquire(n, timeout)); } void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) { ( theWrappedObject->acquire(n)); }