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

Function idhdl_as_str

Singular/dyn_modules/python/interpreter_support.cc:514–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512 }
513}
514static boost::python::str idhdl_as_str(idhdl_wrap iw)
515{
516 idhdl i=iw.id;
517 using boost::python::str;
518 //ring r=p.getRing();
519
520 std::basic_stringstream<char> s;
521 s<<i;
522 return boost::python::str(s.str());
523}
524static idhdl_wrap get_idhdl(const char *n)
525{
526 //idhdl ggetid(const char *n);

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected