Esempio n. 1
0
/**
 * \brief Retrieve the integer type of an enum declaration.
 *
 * If the cursor does not reference an enum declaration, an invalid type is
 * returned.
 */
func (c Cursor) EnumDeclIntegerType() Type {
	o := C.clang_getEnumDeclIntegerType(c.c)
	return Type{o}
}
Esempio n. 2
0
/*
	Retrieve the integer type of an enum declaration.

	If the cursor does not reference an enum declaration, an invalid type is
	returned.
*/
func (c Cursor) EnumDeclIntegerType() Type {
	return Type{C.clang_getEnumDeclIntegerType(c.c)}
}