[gnumeric] Introspection: skip init and shutdown functions.



commit a178b9d1bb5f68265b1b6eb75d92f0f6223368ac
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 18 21:29:44 2018 -0400

    Introspection: skip init and shutdown functions.
    
    These are internal-use only.

 src/clipboard.c      |    6 ++++++
 src/expr.c           |    6 ++++++
 src/func.c           |    6 ++++++
 src/mstyle.c         |    6 ++++++
 src/print-info.c     |    6 ++++++
 src/rendered-value.c |    6 ++++++
 src/sheet.c          |    6 ++++++
 src/style-color.c    |    6 ++++++
 src/style.c          |    5 ++++-
 9 files changed, 52 insertions(+), 1 deletions(-)
---
diff --git a/src/clipboard.c b/src/clipboard.c
index 0f04d35..ad99426 100644
--- a/src/clipboard.c
+++ b/src/clipboard.c
@@ -1185,6 +1185,9 @@ gnm_cell_copy_new (GnmCellRegion *cr, int col_offset, int row_offset)
        return res;
 }
 
+/**
+ * clipboard_init: (skip)
+ */
 void
 clipboard_init (void)
 {
@@ -1205,6 +1208,9 @@ cb_cell_copy_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
 }
 #endif
 
+/**
+ * clipboard_shutdown: (skip)
+ */
 void
 clipboard_shutdown (void)
 {
diff --git a/src/expr.c b/src/expr.c
index b40d794..2998463 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -3458,6 +3458,9 @@ typedef union {
 } GnmExprBig;
 #endif
 
+/**
+ * _gnm_expr_init: (skip)
+ */
 void
 _gnm_expr_init (void)
 {
@@ -3508,6 +3511,9 @@ cb_expression_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
 }
 #endif
 
+/**
+ * _gnm_expr_shutdown: (skip)
+ */
 void
 _gnm_expr_shutdown (void)
 {
diff --git a/src/func.c b/src/func.c
index 4ff8e8b..59c6ba0 100644
--- a/src/func.c
+++ b/src/func.c
@@ -43,6 +43,9 @@ static GnmFuncGroup *unknown_cat;
 static GHashTable *functions_by_name;
 static GHashTable *functions_by_localized_name;
 
+/**
+ * functions_init: (skip)
+ */
 void
 functions_init (void)
 {
@@ -56,6 +59,9 @@ functions_init (void)
        func_builtin_init ();
 }
 
+/**
+ * functions_shutdown: (skip)
+ */
 void
 functions_shutdown (void)
 {
diff --git a/src/mstyle.c b/src/mstyle.c
index 3af5df8..b46f874 100644
--- a/src/mstyle.c
+++ b/src/mstyle.c
@@ -2543,6 +2543,9 @@ gnm_style_dump (GnmStyle const *style)
 
 /* ------------------------------------------------------------------------- */
 
+/**
+ * gnm_style_init: (skip)
+ */
 void
 gnm_style_init (void)
 {
@@ -2564,6 +2567,9 @@ cb_gnm_style_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
 }
 #endif
 
+/**
+ * gnm_style_shutdown: (skip)
+ */
 void
 gnm_style_shutdown (void)
 {
diff --git a/src/print-info.c b/src/print-info.c
index 578f4af..511a049 100644
--- a/src/print-info.c
+++ b/src/print-info.c
@@ -973,6 +973,9 @@ pdf_set_export_options (G_GNUC_UNUSED GOFileSaver *fs,
        return go_parse_key_value (options, err, cb_set_pdf_option, doc);
 }
 
+/**
+ * print_init: (skip)
+ */
 void
 print_init (void)
 {
@@ -990,6 +993,9 @@ print_init (void)
        load_formats ();
 }
 
+/**
+ * print_shutdown: (skip)
+ */
 void
 print_shutdown (void)
 {
diff --git a/src/rendered-value.c b/src/rendered-value.c
index adb4cad..131578b 100644
--- a/src/rendered-value.c
+++ b/src/rendered-value.c
@@ -680,6 +680,9 @@ gnm_rvc_remove (GnmRenderedValueCollection *rvc, GnmCell const *cell)
 
 /* ------------------------------------------------------------------------- */
 
+/**
+ * gnm_rendered_value_init: (skip)
+ */
 void
 gnm_rendered_value_init (void)
 {
@@ -705,6 +708,9 @@ cb_rendered_value_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
 }
 #endif
 
+/**
+ * gnm_rendered_value_shutdown: (skip)
+ */
 void
 gnm_rendered_value_shutdown (void)
 {
diff --git a/src/sheet.c b/src/sheet.c
index 5947043..bba59a2 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -4334,6 +4334,9 @@ cell_free (GnmCell *cell)
 #endif
 }
 
+/**
+ * gnm_sheet_cell_init: (skip)
+ */
 void
 gnm_sheet_cell_init (void)
 {
@@ -4353,6 +4356,9 @@ cb_cell_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
 }
 #endif
 
+/**
+ * gnm_sheet_cell_shutdown: (skip)
+ */
 void
 gnm_sheet_cell_shutdown (void)
 {
diff --git a/src/style-color.c b/src/style-color.c
index 4851ef7..f1aedbe 100644
--- a/src/style-color.c
+++ b/src/style-color.c
@@ -216,6 +216,9 @@ color_hash (gconstpointer v)
        return k->go_color ^ k->is_auto;
 }
 
+/**
+ * gnm_color_init: (skip)
+ */
 void
 gnm_color_init (void)
 {
@@ -233,6 +236,9 @@ cb_color_leak (gpointer key, gpointer value, gpointer user_data)
                    color->go_color);
 }
 
+/**
+ * gnm_color_shutdown: (skip)
+ */
 void
 gnm_color_shutdown (void)
 {
diff --git a/src/style.c b/src/style.c
index 47071bc..0ed777f 100644
--- a/src/style.c
+++ b/src/style.c
@@ -418,6 +418,9 @@ gnm_pango_context_get (void)
        return g_object_ref (context);
 }
 
+/**
+ * gnm_font_init: (skip)
+ */
 void
 gnm_font_init (void)
 {
@@ -486,7 +489,7 @@ list_cached_fonts (GnmFont *font, G_GNUC_UNUSED gpointer value, GSList **lp)
 }
 
 /**
- * gnm_font_shutdown:
+ * gnm_font_shutdown: (skip)
  *
  * Release all resources allocated by gnm_font_init.
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]