Skip to content

Commit

Permalink
Add more interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
amai2012 committed Feb 17, 2019
1 parent 6f57b9a commit b34fe35
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions cfg/python.cfg
Expand Up @@ -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 *"/>

This comment has been minimized.

Copy link
@elfring

elfring Feb 17, 2019

Contributor

Would you like to add the specification “<use-retval/>” for this function description?

<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"/>

This comment has been minimized.

Copy link
@elfring

elfring Feb 17, 2019

Contributor

Would you like to add the specification “<use-retval/>” also for this function description?

<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">

This comment has been minimized.

Copy link
@versat

versat Feb 17, 2019

Collaborator

Looks like there is one "P" too much at the beginning of the name.

<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"/>
Expand Down

0 comments on commit b34fe35

Please sign in to comment.