MCPcopy Create free account
hub / github.com/numpy/numpy / F2PyCapsule_AsVoidPtr

Function F2PyCapsule_AsVoidPtr

numpy/f2py/src/fortranobject.c:1404–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1402}
1403
1404void *
1405F2PyCapsule_AsVoidPtr(PyObject *obj)
1406{
1407 void *ret = PyCapsule_GetPointer(obj, NULL);
1408 if (ret == NULL) {
1409 PyErr_Clear();
1410 }
1411 return ret;
1412}
1413
1414int
1415F2PyCapsule_Check(PyObject *ptr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected