Back to index

libunity  5.92.0
Functions
unity-lens-merge-strategy.c File Reference
#include <glib.h>
#include <glib-object.h>
#include "unity.h"
#include <dee.h>

Go to the source code of this file.

Functions

DeeModelIter * unity_merge_strategy_merge_result (UnityMergeStrategy *self, DeeModel *target, GVariant **row, int row_length1)
 unity_merge_strategy_merge_result: : The target model to merge a row into : An array of variants with the row data for the result
static void unity_merge_strategy_base_init (UnityMergeStrategyIface *iface)
GType unity_merge_strategy_get_type (void)

Function Documentation

static void unity_merge_strategy_base_init ( UnityMergeStrategyIface *  iface) [static]

Definition at line 48 of file unity-lens-merge-strategy.c.

                                                                             {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
       }
}

Here is the caller graph for this function:

Definition at line 56 of file unity-lens-merge-strategy.c.

                                           {
       static volatile gsize unity_merge_strategy_type_id__volatile = 0;
       if (g_once_init_enter (&unity_merge_strategy_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMergeStrategyIface), (GBaseInitFunc) unity_merge_strategy_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType unity_merge_strategy_type_id;
              unity_merge_strategy_type_id = g_type_register_static (G_TYPE_INTERFACE, "UnityMergeStrategy", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (unity_merge_strategy_type_id, G_TYPE_OBJECT);
              g_once_init_leave (&unity_merge_strategy_type_id__volatile, unity_merge_strategy_type_id);
       }
       return unity_merge_strategy_type_id__volatile;
}

Here is the call graph for this function:

DeeModelIter* unity_merge_strategy_merge_result ( UnityMergeStrategy *  self,
DeeModel *  target,
GVariant **  row,
int  row_length1 
)

unity_merge_strategy_merge_result: : The target model to merge a row into : An array of variants with the row data for the result

Returns: A model iter pointing to the row in the target model where was added. Or null if the result was discarded

Definition at line 42 of file unity-lens-merge-strategy.c.

                                                                                                                              {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_MERGE_STRATEGY_GET_INTERFACE (self)->merge_result (self, target, row, row_length1);
}

Here is the caller graph for this function: