예제 #1
0
// Language returns the "language" of the entity referred to by a cursor.
func (c Cursor) Language() LanguageKind {
	o := C.clang_getCursorLanguage(c.c)
	return LanguageKind(o)
}
예제 #2
0
파일: cursor_gen.go 프로젝트: go-clang/v3.6
// Determine the "language" of the entity referred to by a given cursor.
func (c Cursor) Language() LanguageKind {
	return LanguageKind(C.clang_getCursorLanguage(c.c))
}