Skip to main content

function_body_location

Function function_body_location 

Source
fn function_body_location(cursor: CXCursor) -> (usize, usize, usize, usize)
Expand description

Returns the source location of the first compound_statement child of the given function/method cursor. Falls back to the cursor’s own extent when no compound statement is present (e.g. for forward declarations).