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

Function Py_ops_pyversion

SRC/interpreter/PythonWrapper.cpp:1988–1998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1986}
1987
1988static PyObject *Py_ops_pyversion(PyObject *self, PyObject *args)
1989{
1990 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1991
1992 if (OPS_SetString(OPS_PYVERSION) < 0) {
1993 opserr<<(void*)0;
1994 return NULL;
1995 }
1996
1997 return wrapper->getResults();
1998}
1999
2000static PyObject *Py_ops_setMaxOpenFiles(PyObject *self, PyObject *args)
2001{

Callers

nothing calls this directly

Calls 3

getResultsMethod · 0.80
OPS_SetStringFunction · 0.70
resetCommandLineMethod · 0.45

Tested by

no test coverage detected