| 2776 | } |
| 2777 | |
| 2778 | static PyObject *Py_ops_getNumThreads(PyObject *self, PyObject *args) |
| 2779 | { |
| 2780 | wrapper->resetCommandLine(PyTuple_Size(args), 1, args); |
| 2781 | |
| 2782 | if (OPS_getNumThreads() < 0) { |
| 2783 | opserr<<(void*)0; |
| 2784 | return NULL; |
| 2785 | } |
| 2786 | |
| 2787 | return wrapper->getResults(); |
| 2788 | } |
| 2789 | |
| 2790 | static PyObject *Py_ops_setNumThreads(PyObject *self, PyObject *args) |
| 2791 | { |
nothing calls this directly
no test coverage detected