Method

IdeSearchReducertake

Declaration

void
ide_search_reducer_take (
  IdeSearchReducer* reducer,
  IdeSearchResult* result
)

Description

Like ide_search_reducer_push() but takes ownership of result by stealing the reference.

Parameters

result

Type: IdeSearchResult

An IdeSearchResult.

The instance takes ownership of the data, and is responsible for freeing it.