libswami Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
SwamiLoopResults; SwamiLoopResults * swami_loop_results_new (void
); SwamiLoopMatch * swami_loop_results_get_values (SwamiLoopResults *results
,guint *count
);
typedef struct { SwamiLoopMatch *values; /* loop match result values */ int count; /* number of entries in values */ } SwamiLoopResults;
SwamiLoopResults * swami_loop_results_new (void
);
Create a new sample loop finder results object. Used for storing results of a SwamiLoopFinder find operation.
Returns : |
New object of type SwamiLoopResults |
SwamiLoopMatch * swami_loop_results_get_values (SwamiLoopResults *results
,guint *count
);
Get the loop match values array from a loop results object.
|
Loop finder results object |
|
Output: location to store length of returned values array |
Returns : |
Array of loop results or NULL if none. The array is internal,
should not be modified or freed and should be used only up to the point
where results is destroyed (no more references held).
|