☰
Debian Codegraph
@
8.0.0+dfsg-1
7.3.23+dfsg-2
7.3.23+dfsg-1
/
/
lib_pypy
/
hpy
/
devel
/
src
/
runtime
/
ctx_err.c
☽
☼
lib_pypy/hpy/devel/src/runtime/ctx_err.c
code
plain
raw
symbols
SCIP
Expat
2019, The HPy Authors
debian/copyright
1
#include
<Python.h>
2
#include
"hpy.h"
3
#include
"hpy/runtime/ctx_funcs.h"
4
5
#ifndef
HPY_ABI_CPYTHON
6
// for _h2py and _py2h
7
# include
"handles.h"
8
#endif
9
10
_HPy_HIDDEN
int
11
ctx_Err_Occurred
(
HPyContext
*ctx) {
12
return
PyErr_Occurred
() ?
1
:
0
;
13
}