コード例 #1
0
ファイル: cursor.go プロジェクト: quarnster/go-clang
/**
 * \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}
}
コード例 #2
0
ファイル: cursor_gen.go プロジェクト: go-clang/v3.6
/*
	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)}
}