3#include <boost/python.hpp>
9 using boost::python::str;
13 return boost::python::str(out,strlen(out));
21 char name_buffer[100];
24 sprintf(name_buffer,
"PYTHON_RING_VAR%d",ending);
34boost::python::class_<Ring>(
"Ring",
"reference to a Singular ring")
36 .def(
"set",
ring_set,
"equivalent to the singular command setring, which is not mapped as it is a command")
37 .def(boost::python::init <>());
intrusive_ptr< ip_sring > pimpl
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
idhdl rFindHdl(ring r, idhdl n)
void StringSetS(const char *st)
void rWrite(ring r, BOOLEAN details)
static boost::python::object Ring_as_str(const Ring &r)