Exemple #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)
Exemple #2
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)
Exemple #3
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)
Exemple #4
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)