// Insert inserts a Cursor into the set and returns false if the cursor was // already in that set. func (c CursorSet) Insert(cursor Cursor) bool { o := C.clang_CXCursorSet_insert(c.c, cursor.c) if o != C.uint(0) { return true } return false }
/* Inserts a CXCursor into a CXCursorSet. Returns zero if the CXCursor was already in the set, and non-zero otherwise. */ func (cs CursorSet) Insert(cursor Cursor) uint32 { return uint32(C.clang_CXCursorSet_insert(cs.c, cursor.c)) }