MCPcopy Index your code
hub / github.com/python/cpython / is_funcptr

Function is_funcptr

Tools/c-analyzer/c_parser/match.py:47–51  ·  view source on GitHub ↗
(vartype)

Source from the content-addressed store, hash-verified

45
46
47def is_funcptr(vartype):
48 if not vartype:
49 return None
50 _, _, _, _, abstract = _info.get_parsed_vartype(vartype)
51 return _is_funcptr(abstract)
52
53
54def _is_funcptr(declstr):

Callers 3

resolve_declFunction · 0.90
_dump_unresolvedFunction · 0.90
_check_typespecFunction · 0.90

Calls 1

_is_funcptrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…