Exemplo n.º 1
0
def pypy_execute_source(ll_progname):
    from target import init_vm
    after = rffi.aroundstate.after
    if after: after()
    progname = rffi.charp2str(ll_progname)
    init_vm(progname)
    res = 0
    before = rffi.aroundstate.before
    if before: before()
    return rffi.cast(rffi.INT, res)
Exemplo n.º 2
0
def pypy_execute_source(ll_progname):
    from target import init_vm
    progname = rffi.charp2str(ll_progname)
    init_vm(progname)
    res = 0
    return rffi.cast(rffi.INT, res)