MCPcopy Create free account
hub / github.com/dtrace4linux/linux / dt_decl_func

Function dt_decl_func

libdtrace/dt_decl.c:429–452  ·  view source on GitHub ↗

* When a function is declared, we need to fudge the decl stack a bit if the * declaration uses the function pointer (*)() syntax. In this case, the * dt_decl_func() call occurs *after* the dt_decl_ptr() call, even though the * resulting type is "pointer to function". To make the pointer land on top, * we check to see if 'pdp' is non-NULL and a pointer. If it is, we search * backward for a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

dt_decl_allocFunction · 0.85
dt_decl_prototypeFunction · 0.85
dt_decl_pushFunction · 0.85

Tested by

no test coverage detected