MCPcopy Create free account
hub / github.com/Singular/Singular / str

Method str

Singular/dyn_modules/pyobject/pyobject.cc:185–185  ·  view source on GitHub ↗

Extract C-style string

Source from the content-addressed store, hash-verified

183
184 /// Extract C-style string
185 char* str() const { return omStrDup(PyString_AsString(*this)); }
186
187 Py_ssize_t size() const { return PyObject_Size(m_ptr); }
188

Callers 5

idhdl_as_strFunction · 0.45
CF_as_strFunction · 0.45
toStringFunction · 0.45
bbpolytopeToStringFunction · 0.45
sync_contextsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected