Esempio n. 1
0
 def do_runtimenew(self, classbox):
     classobj = classbox.getref(ootype.Class)
     res = ootype.runtimenew(classobj)
     return BoxObj(ootype.cast_to_object(res))
Esempio n. 2
0
File: runner.py Progetto: 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))
Esempio n. 3
0
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
Esempio n. 4
0
def ll_instantiate(INST, C):
    return ootype.runtimenew(C.class_)
Esempio n. 5
0
 def op_runtimenew(self, class_):
     return ootype.runtimenew(class_)
Esempio 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))