예제 #1
0
// Spelling returns the name of the entity referenced by this cursor.
func (c Cursor) Spelling() string {
	cstr := cxstring{C.clang_getCursorSpelling(c.c)}
	defer cstr.Dispose()
	return cstr.String()
}
예제 #2
0
파일: cursor_gen.go 프로젝트: go-clang/v3.6
// Retrieve a name for the entity referenced by this cursor.
func (c Cursor) Spelling() string {
	o := cxstring{C.clang_getCursorSpelling(c.c)}
	defer o.Dispose()

	return o.String()
}