Debian Codegraph @

lib_pypy/hpy/devel/src/runtime/ctx_err.c

raw symbols SCIP
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 }