python.cfg: Add some missing PyErr_*() functions
This commit is contained in:
parent
7061cc334b
commit
0e15fd3140
|
@ -59,10 +59,89 @@
|
||||||
<strz/>
|
<strz/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void PyErr_Clear() -->
|
||||||
<function name="PyErr_Clear">
|
<function name="PyErr_Clear">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<returnValue type="void"/>
|
<returnValue type="void"/>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- PyObject* PyErr_Format(PyObject *exception, const char *format, ...) -->
|
||||||
|
<function name="PyErr_Format">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="PyObject*">NULL</returnValue>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="variadic" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- PyObject* PyErr_FormatV(PyObject *exception, const char *format, va_list vargs) -->
|
||||||
|
<function name="PyErr_FormatV">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="PyObject*">NULL</returnValue>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- PyObject* PyErr_NewException(const char *name, PyObject *base, PyObject *dict) -->
|
||||||
|
<function name="PyErr_NewException">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="PyObject*"/>
|
||||||
|
<use-retval/>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- PyObject* PyErr_NewExceptionWithDoc(const char *name, const char *doc, PyObject *base, PyObject *dict) -->
|
||||||
|
<function name="PyErr_NewExceptionWithDoc">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="PyObject*"/>
|
||||||
|
<use-retval/>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- PyObject* PyErr_SetFromErrno(PyObject *type) -->
|
||||||
|
<function name="PyErr_SetFromErrno">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="PyObject*">NULL</returnValue>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- void PyErr_SetObject(PyObject *type, PyObject *value) -->
|
||||||
<function name="PyErr_SetObject">
|
<function name="PyErr_SetObject">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -84,7 +163,7 @@
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="2">
|
<arg nr="2" direction="in">
|
||||||
<strz/>
|
<strz/>
|
||||||
<not-null/>
|
<not-null/>
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
|
Loading…
Reference in New Issue