Example #1
0
/**
 * \brief Retrieve the underlying type of a typedef declaration.
 *
 * If the cursor does not reference a typedef declaration, an invalid type is
 * returned.
 */
func (c Cursor) TypedefDeclUnderlyingType() Type {
	o := C.clang_getTypedefDeclUnderlyingType(c.c)
	return Type{o}
}
Example #2
0
/*
	Retrieve the underlying type of a typedef declaration.

	If the cursor does not reference a typedef declaration, an invalid type is
	returned.
*/
func (c Cursor) TypedefDeclUnderlyingType() Type {
	return Type{C.clang_getTypedefDeclUnderlyingType(c.c)}
}