예제 #1
0
 def do_runtimenew(self, classbox):
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return BoxObj(ootype.cast_to_object(res))
예제 #2
0
파일: runner.py 프로젝트: ieure/pypy
 def do_runtimenew(self, classbox):
     "NOT_RPYTHON"
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return history.BoxObj(ootype.cast_to_object(res))
예제 #3
0
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
예제 #4
0
def ll_instantiate(INST, C):
    return ootype.runtimenew(C.class_)
예제 #5
0
파일: llinterp.py 프로젝트: chyyuu/pygirl
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
예제 #6
0
파일: runner.py 프로젝트: purepython/pypy
 def do_runtimenew(self, classbox):
     "NOT_RPYTHON"
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return history.BoxObj(ootype.cast_to_object(res))