Exemplo n.º 1
0
/**
 * \brief Return the element type of an array type.
 *
 * If a non-array type is passed in, an invalid type is returned.
 */
func (t Type) ArrayElementType() Type {
	o := C.clang_getArrayElementType(t.c)
	return Type{o}
}
Exemplo n.º 2
0
/*
	Return the element type of an array type.

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