Debian Codegraph @

pypy/module/_rawffi/interp_exit.py

raw symbols SCIP
1 from pypy.interpreter.gateway import unwrap_spec
2 from rpython.rtyper.lltypesystem import lltype, rffi
3
4
5 ll_exit = rffi.llexternal('exit', [rffi.INT], lltype.Void, _nowrapper=True)
6
7 @unwrap_spec(status="c_int")
8 def exit(space, status):
9 ll_exit(rffi.cast(rffi.INT, status))