/** * \brief Retrieve the result type associated with a given cursor. This only * returns a valid type of the cursor refers to a function or method. */ func (c Cursor) ResultType() Type { o := C.clang_getCursorResultType(c.c) return Type{o} }
/* Retrieve the return type associated with a given cursor. This only returns a valid type if the cursor refers to a function or method. */ func (c Cursor) ResultType() Type { return Type{C.clang_getCursorResultType(c.c)} }