python.cfg: Add some missing PyErr_*() functions
This commit is contained in:
parent
7061cc334b
commit
0e15fd3140
|
@ -59,10 +59,89 @@
|
|||
<strz/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void PyErr_Clear() -->
|
||||
<function name="PyErr_Clear">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
</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">
|
||||
<leak-ignore/>
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -84,7 +163,7 @@
|
|||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<arg nr="2" direction="in">
|
||||
<strz/>
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
|
|
Loading…
Reference in New Issue