def pypy_execute_source(ll_source): from target import EvalFn, run_with_stacklets source = rffi.charp2str(ll_source) f = EvalFn(source) run_with_stacklets.invoke([f]) res = 0 return rffi.cast(rffi.INT, res)
def pypy_execute_source(ll_source): from target import EvalFn, run_with_stacklets after = rffi.aroundstate.after if after: after() source = rffi.charp2str(ll_source) f = EvalFn(source) run_with_stacklets.invoke([f]) res = 0 before = rffi.aroundstate.before if before: before() return rffi.cast(rffi.INT, res)