Additions to python.cfg

This commit is contained in:
amai2012 2019-02-04 20:31:21 +01:00
parent 704cdac292
commit f3af8b508a
1 changed files with 29 additions and 0 deletions

View File

@ -36,6 +36,18 @@
<noreturn>false</noreturn>
<pure/>
<returnValue type="void"/>
<use-retval/>
</function>
<function name="Py_Main">
<leak-ignore/>
<returnValue type="int"/>
<arg nr="1">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="Py_SetProgramName,Py_SetPythonHome">
<leak-ignore/>
@ -46,14 +58,31 @@
<not-uninit/>
</arg>
</function>
<!-- void PyErr_SetString(PyObject *type, const char *message) -->
<function name="PyErr_SetString">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<strz/>
<not-uninit/>
</arg>
<arg nr="2">
<strz/>
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="Py_GetProgramName,Py_GetExecPrefix,Py_GetProgramFullPath,Py_GetPath,Py_GetPythonHome">
<noreturn>false</noreturn>
<returnValue type="char *"/>
<pure/>
<use-retval/>
</function>
<function name="Py_GetVersion,Py_GetPlatform,Py_GetCopyright,Py_GetCompiler,Py_GetBuildInfo">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<pure/>
<use-retval/>
</function>
</def>