Пример #1
0
// Dispose frees the set of overridden cursors
func (c OverriddenCursors) Dispose() {
	C.clang_disposeOverriddenCursors(c.c)
}
Пример #2
0
// Free the set of overridden cursors returned by \c clang_getOverriddenCursors().
func Dispose(overridden []Cursor) {
	gos_overridden := (*reflect.SliceHeader)(unsafe.Pointer(&overridden))
	cp_overridden := (*C.CXCursor)(unsafe.Pointer(gos_overridden.Data))

	C.clang_disposeOverriddenCursors(cp_overridden)
}