| 512 | } |
| 513 | } |
| 514 | static 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 | } |
| 524 | static idhdl_wrap get_idhdl(const char *n) |
| 525 | { |
| 526 | //idhdl ggetid(const char *n); |