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