コード例 #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
ファイル: llinterp.py プロジェクト: TheDunn/flex-pypy
 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))