MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / Py_ops_version

Function Py_ops_version

SRC/interpreter/PythonWrapper.cpp:1976–1986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1974}
1975
1976static PyObject *Py_ops_version(PyObject *self, PyObject *args)
1977{
1978 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1979
1980 if (OPS_version() < 0) {
1981 opserr<<(void*)0;
1982 return NULL;
1983 }
1984
1985 return wrapper->getResults();
1986}
1987
1988static PyObject *Py_ops_pyversion(PyObject *self, PyObject *args)
1989{

Callers

nothing calls this directly

Calls 3

OPS_versionFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected