Yuheng Zou writes:
> ...
> I built a C++ library which contains EvalFrame function, and then use dlopen
> and dlsym to use it. It looks like this:
>
> extern "C" PyObject *EvalFrame(PyFrameObject *f, int throwflag) {
> return _PyEval_EvalFrameDefault(f, throwflag);
> }
> I added following cod
Yuheng Zou wrote, on Friday, March 31, 2017 6:52 AM
>
> I am building a Python JIT, so I want to change the
> interp->eval_frame to my own function.
>
> I built a C++ library which contains EvalFrame function, and
> then use dlopen and dlsym to use it. It looks like this:
>
> extern "C" PyObje
I am building a Python JIT, so I want to change the interp->eval_frame to my
own function.
I built a C++ library which contains EvalFrame function, and then use dlopen
and dlsym to use it. It looks like this:
extern "C" PyObject *EvalFrame(PyFrameObject *f, int throwflag) {
return _PyEval_E