Exemplo n.º 1
0
 def do_runtimenew(self, classbox):
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return BoxObj(ootype.cast_to_object(res))
Exemplo n.º 2
0
Arquivo: runner.py Projeto: 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))
Exemplo n.º 3
0
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
Exemplo n.º 4
0
def ll_instantiate(INST, C):
    return ootype.runtimenew(C.class_)
Exemplo n.º 5
0
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
Exemplo n.º 6
0
 def do_runtimenew(self, classbox):
     "NOT_RPYTHON"
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return history.BoxObj(ootype.cast_to_object(res))