[gnumeric] Docs: drop TABLE and ATL_LAST.



commit e1da4b95fcf5e002eb59673f016b92c09c96b8eb
Author: Morten Welinder <terra gnome org>
Date:   Wed Jan 17 09:15:30 2018 -0500

    Docs: drop TABLE and ATL_LAST.

 ChangeLog    |    5 +++++
 src/sstest.c |    9 +++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 821dd08..a337bb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-17  Morten Welinder  <terra gnome org>
+
+       * src/sstest.c (function_dump_defs): Drop internal function TABLE
+       as well as demo function ATL_LAST.
+
 2018-01-11  Morten Welinder  <terra gnome org>
 
        * src/sheet-control-gui.c (scg_scrollbar_config_real): Be careful
diff --git a/src/sstest.c b/src/sstest.c
index acda80e..3eeb52f 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -439,6 +439,15 @@ function_dump_defs (char const *filename, int dump_type)
 
        for (i = 0; i < ordered->len; i++) {
                GnmFunc const *fd = g_ptr_array_index (ordered, i);
+
+               // Skip internal-use function
+               if (g_ascii_strcasecmp (fd->name, "TABLE") == 0)
+                       continue;
+
+               // Skip demo function
+               if (g_ascii_strcasecmp (fd->name, "ATL_LAST") == 0)
+                       continue;
+
                if (dump_type == 1) {
                        int i;
                        gboolean first_arg = TRUE;


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