Returns the py_trampoline that is used to pass the control to the python runtime.
| 45 | // Returns the py_trampoline that is used to pass the control to the |
| 46 | // python runtime. |
| 47 | PyObject* GetPyTrampoline() { |
| 48 | mutex_lock l(mu); |
| 49 | return py_trampoline; |
| 50 | } |
| 51 | |
| 52 | // A call to the registered python function. |
| 53 | struct PyCall { |