Example #1
0
/**
 * \brief Retrieve the result type associated with a function type.
 */
func (t Type) ResultType() Type {
	o := C.clang_getResultType(t.c)
	return Type{o}
}
Example #2
0
/*
	Retrieve the result type associated with a function type.

	If a non-function type is passed in, an invalid type is returned.
*/
func (t Type) ResultType() Type {
	return Type{C.clang_getResultType(t.c)}
}