Exemple #1
0
/* for debug/testing */
func (c CursorKind) Spelling() string {
	cstr := cxstring{C.clang_getCursorKindSpelling(c.to_c())}
	defer cstr.Dispose()
	return cstr.String()
}
Exemple #2
0
func (ck CursorKind) Spelling() string {
	o := cxstring{C.clang_getCursorKindSpelling(C.enum_CXCursorKind(ck))}
	defer o.Dispose()

	return o.String()
}