MCPcopy Create free account
hub / github.com/OSGeo/gdal / CallPython

Function CallPython

gcore/gdalpythondriverloader.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58/************************************************************************/
59
60static PyObject *CallPython(PyObject *function)
61{
62 PyObject *pyArgs = PyTuple_New(0);
63 PyObject *pRet = PyObject_Call(function, pyArgs, nullptr);
64 Py_DecRef(pyArgs);
65 return pRet;
66}
67
68/************************************************************************/
69/* CallPython() */

Callers 10

GetIntResFunction · 0.85
GetStringResFunction · 0.85
SetAttributeFilterMethod · 0.85
StoreSpatialFilterMethod · 0.85
GetFeatureCountMethod · 0.85
IGetExtentMethod · 0.85
GetFieldsMethod · 0.85
GetGeomFieldsMethod · 0.85
GetLayerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected