static void g_sheet_column_base_init (gpointer g_class);
-inline GType
+GType
g_sheet_column_get_type (void)
{
static GType sheet_column_type = 0;
}
-inline void
+void
g_sheet_column_set_width (GSheetColumn *column, glong col, gint size)
{
g_return_if_fail (G_IS_SHEET_COLUMN (column));
}
-inline gint
+gint
g_sheet_column_get_width (const GSheetColumn *column, glong col)
{
g_return_val_if_fail (G_IS_SHEET_COLUMN (column), -1);
-inline gboolean
+gboolean
g_sheet_column_get_visibility(const GSheetColumn *column,
glong col)
{
}
-inline gboolean
+gboolean
g_sheet_column_get_sensitivity(const GSheetColumn *column,
glong col)
{
}
-inline GtkSheetButton *
+GtkSheetButton *
g_sheet_column_get_button(const GSheetColumn *column,
glong col)
{
return button;
}
-inline GtkJustification
+GtkJustification
g_sheet_column_get_justification(const GSheetColumn *column,
glong col)
{
return (G_SHEET_COLUMN_GET_IFACE (column)->get_justification) (column, col);
}
-inline gchar *
+gchar *
g_sheet_column_get_subtitle (const GSheetColumn *column, glong col)
{
g_return_val_if_fail (G_IS_SHEET_COLUMN (column), NULL);
-inline gint
+gint
g_sheet_column_get_left_text_column (const GSheetColumn *column,
glong col)
{
}
-inline gint
+gint
g_sheet_column_get_right_text_column (const GSheetColumn *column,
glong col)
{
}
-inline void
+void
g_sheet_column_set_left_text_column (const GSheetColumn *column,
glong col, gint i)
{
}
-inline void
+void
g_sheet_column_set_right_text_column (const GSheetColumn *column,
glong col, gint i)
{
(G_SHEET_COLUMN_GET_IFACE (column)->set_right_text_column) (column, col, i);
}
-inline glong
+glong
g_sheet_column_get_column_count(const GSheetColumn *geo)
{
g_return_val_if_fail (G_IS_SHEET_COLUMN (geo), -1);
return (G_SHEET_COLUMN_GET_IFACE (geo)->get_column_count) (geo);
}
-inline gint
+gint
g_sheet_column_start_pixel(const GSheetColumn *geo, glong col)
{
gint i;
-inline void
+void
g_sheet_column_columns_changed(GSheetColumn *geo,
glong first, glong n_columns)
{
-inline void
+void
g_sheet_hetero_column_set_width (GSheetHeteroColumn *geo, glong i, gint size)
{
GSheetColumn *iface = G_SHEET_COLUMN (geo);
return button;
}
-inline gchar *
+gchar *
g_sheet_row_get_subtitle (const GSheetRow *row_geo, glong row)
{
g_return_val_if_fail (G_IS_SHEET_ROW (row_geo), NULL);
static void g_sheet_model_base_init (gpointer g_class);
-inline GType
+GType
g_sheet_model_get_type (void)
{
static GType sheet_model_type = 0;
* Returns: True if strings obtained with get_string should be freed by the
* sheet when no longer required.
**/
-inline gboolean
+gboolean
g_sheet_model_free_strings (const GSheetModel *sheet_model)
{
g_return_val_if_fail (G_IS_SHEET_MODEL (sheet_model), FALSE);
* Retrieves the datum at location ROW, COLUMN in the form of a string.
* Returns: The string representation of the datum, or NULL on error.
**/
-inline gchar *
+gchar *
g_sheet_model_get_string (const GSheetModel *sheet_model,
glong row, glong column)
{
*
* Returns: TRUE if the cell is editable, FALSE otherwise
**/
-inline gboolean
+gboolean
g_sheet_model_is_editable (const GSheetModel *model,
glong row, glong column)
{
*
* Returns: TRUE if the cell is visible, FALSE otherwise
**/
-inline gboolean
+gboolean
g_sheet_model_is_visible (const GSheetModel *model,
glong row, glong column)
{
* Returns the foreground colour of the cell at @row, @column
* Returns: the foreground colour, or NULL on error.
**/
-inline const GdkColor *
+const GdkColor *
g_sheet_model_get_foreground (const GSheetModel *model,
glong row, glong column)
{
* Returns the background colour of the cell at @row, @column
* Returns: the background colour, or NULL on error.
**/
-inline const GdkColor *
+const GdkColor *
g_sheet_model_get_background (const GSheetModel *model,
glong row, glong column)
{
* Returns the justification of the cell at @row, @column
* Returns: the justification, or NULL on error.
**/
-inline const GtkJustification *
+const GtkJustification *
g_sheet_model_get_justification (const GSheetModel *model,
glong row, glong column)
{
* Returns the font description of the cell at @row, @column
* Returns: the font description, or NULL on error.
**/
-inline const PangoFontDescription *
+const PangoFontDescription *
g_sheet_model_get_font_desc(const GSheetModel *model,
glong row, glong column)
{
* Returns the cell border of the cell at @row, @column
* Returns: the cell border, or NULL on error.
**/
-inline const GtkSheetCellBorder *
+const GtkSheetCellBorder *
g_sheet_model_get_cell_border (const GSheetModel *model,
glong row, glong column)
{
*
* Returns the total number of columns represented by the model
**/
-inline glong
+glong
g_sheet_model_get_column_count (const GSheetModel *model)
{
g_return_val_if_fail (G_IS_SHEET_MODEL (model), -1);
*
* Returns the total number of rows represented by the model
**/
-inline gint
+gint
g_sheet_model_get_row_count(const GSheetModel *model)
{
g_return_val_if_fail (G_IS_SHEET_MODEL (model), -1);
}
-inline void
+void
gtk_sheet_button_free (GtkSheetButton *button)
{
if (!button) return ;
the tree, if AFTER is true, or the last node, if AFTER is
false. */
static inline void
-insert_relative (struct abt *abt, struct abt_node *p, bool after,
+insert_relative (struct abt *abt, const struct abt_node *p, bool after,
struct abt_node *node)
{
node->down[0] = NULL;
p = p->down[dir];
dir = !after;
}
- p->down[dir] = node;
- node->up = p;
+ ((struct abt_node *) p)->down[dir] = node;
+ node->up = (struct abt_node *) p;
abt_reaugmented (abt, node);
}
const struct abt_node *p, struct abt_node *node)
{
assert (abt->compare == NULL);
- insert_relative (abt, (struct abt_node *) p, true, node);
+ insert_relative (abt, p, true, node);
}
/* Inserts NODE before node P in ABT.
const struct abt_node *p, struct abt_node *node)
{
assert (abt->compare == NULL);
- insert_relative (abt, (struct abt_node *) p, false, node);
+ insert_relative (abt, p, false, node);
}
/* Deletes P from ABT. */
to a pointer to that entry; otherwise returns a pointer to a
NULL entry which *must* be used to insert a new entry having
the same key data. */
-inline void **
+void **
hsh_probe (struct hsh_table *h, const void *target)
{
unsigned i;
}
-inline casenumber
+casenumber
psppire_case_file_get_case_count (const PsppireCaseFile *cf)
{
g_return_val_if_fail (cf, FALSE);
static guint signals [n_SIGNALS];
-inline GType
+GType
psppire_data_store_get_type (void)
{
static GType data_store_type = 0;
return psppire_dict_get_var_cnt (store->dict);
}
-inline casenumber
+casenumber
psppire_data_store_get_case_count (const PsppireDataStore *store)
{
return psppire_case_file_get_case_count (store->case_file);
return psppire_dict_get_value_cnt (store->dict);
}
-inline casenumber
+casenumber
psppire_data_store_get_case_count_wrapper (const GSheetModel *model)
{
const PsppireDataStore *store = PSPPIRE_DATA_STORE (model);
const gchar *text,
glong row, glong column);
-casenumber psppire_data_store_get_case_count (const PsppireDataStore *ds);
+inline casenumber psppire_data_store_get_case_count (const PsppireDataStore *ds);
size_t psppire_data_store_get_value_count (const PsppireDataStore *ds);
#ifdef __cplusplus
}
-inline gint
+gint
psppire_dict_get_next_value_idx (const PsppireDict *dict)
{
return dict_get_next_value_idx (dict->dict);
gboolean psppire_dict_check_name (const PsppireDict *dict,
const gchar *name, gboolean report);
-gint psppire_dict_get_next_value_idx (const PsppireDict *dict);
+inline gint psppire_dict_get_next_value_idx (const PsppireDict *dict);
gboolean psppire_dict_rename_var (PsppireDict *dict, struct variable *v,
const gchar *text);