SwamiLoopResults

SwamiLoopResults

Synopsis

                    SwamiLoopResults;
SwamiLoopResults *  swami_loop_results_new              (void);
SwamiLoopMatch *    swami_loop_results_get_values       (SwamiLoopResults *results,
                                                         guint *count);

Object Hierarchy

  GObject
   +----SwamiLoopResults

Description

Details

SwamiLoopResults

typedef struct {
  SwamiLoopMatch *values; /* loop match result values */
  int count;			/* number of entries in values */
} SwamiLoopResults;

swami_loop_results_new ()

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

swami_loop_results_get_values ()

SwamiLoopMatch *    swami_loop_results_get_values       (SwamiLoopResults *results,
                                                         guint *count);

Get the loop match values array from a loop results object.

results :

Loop finder results object

length :

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).