| 652 | } |
| 653 | |
| 654 | PyObject* get_current_definition(const char* name) { |
| 655 | idhdl handle = ggetid(name); |
| 656 | if (!handle || (IDTYP(handle) != PythonInterpreter::id())) return NULL; |
| 657 | PythonCastStatic<PyObject*> value(IDDATA(handle)); |
| 658 | return value; |
| 659 | } |
| 660 | |
| 661 | /// getting stuff from python to Singular namespace |
| 662 | void sync_contexts() |
no test coverage detected