##// END OF EJS Templates
rust-cpython: drop manual management of mutably_borrowed...
rust-cpython: drop manual management of mutably_borrowed RefCell::borrow() should guarantee there's no mutable borrow. As a follow up, maybe PySharedState can be a pure data structure + function. Most ref-sharing business has already been moved to PySharedRef* and PyLeaked*.

File last commit:

r41049:ef103c96 default
r43609:6c0e4787 default
Show More
pyutil.h
9 lines | 128 B | text/x-c | CLexer
#include <Python.h>
namespace contrib
{
void initpy(const char *cselfpath);
PyObject *pyglobals();
} /* namespace contrib */