Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _is_funcptr
Function
_is_funcptr
Tools/c-analyzer/c_parser/match.py:54–58 ·
view source on GitHub ↗
(declstr)
Source
from the content-addressed store, hash-verified
52
53
54
def
_is_funcptr(declstr):
55
if
not declstr:
56
return
None
57
# XXX Support "(<name>*)(".
58
return
'(*)('
in declstr.replace(
' '
,
''
)
59
60
61
def
is_forward_decl(decl):
Callers
1
is_funcptr
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…