Пример #1
0
// Determine whether two cursors are equivalent
func EqualCursors(c1, c2 Cursor) bool {
	o := C.clang_equalCursors(c1.c, c2.c)
	if o != C.uint(0) {
		return true
	}
	return false
}
Пример #2
0
// Determine whether two cursors are equivalent.
func (c Cursor) Equal(c2 Cursor) bool {
	o := C.clang_equalCursors(c.c, c2.c)

	return o != C.uint(0)
}