Add more interfaces

This commit is contained in:
amai2012 2019-02-17 17:03:40 +01:00
parent 6f57b9abfa
commit b34fe35191
1 changed files with 47 additions and 0 deletions

View File

@ -102,6 +102,53 @@
<pure/>
<use-retval/>
</function>
<!-- https://docs.python.org/2.0/ext/parseTuple.html
PyObject *Py_BuildValue(char *format, ...); -->
<function name="Py_BuildValue">
<returnValue type="PyObject *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<formatstr/>
</arg>
<arg nr="2"/>
</function>
<!-- https://docs.python.org/2.0/ext/parseTuple.html
int PyArg_ParseTuple(PyObject *arg, char *format, ...); -->
<function name="PyArg_ParseTuple">
<returnValue type="int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
<formatstr/>
</arg>
<arg nr="3"/>
</function>
<!-- int PyInt_Check(PyObject *o) -->
<function name="PyInt_Check">
<returnValue type="int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- PyObject* PyInt_FromLong(long ival) -->
<function name="PPyInt_FromLong">
<returnValue type="PyObject *"/>
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- Deprecated DL_IMPORT and DL_EXPORT macros -->
<define name="DL_IMPORT(RTYPE)" value="RTYPE"/>
<define name="DL_EXPORT(RTYPE)" value="RTYPE"/>