[gnumeric] exclude py_* functions from t2001



commit bbd5647e3a24da2b190a8a94504779faeed1b3de
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Wed Jul 7 14:51:05 2010 -0600

    exclude py_* functions from t2001
    
    2010-07-07  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions

 ChangeLog  |    4 ++++
 src/func.c |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9d5649b..348c73f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-07-07  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions
+
+2010-07-07  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* src/sheet-control-gui.c (context_menu_handler): enable column and row
 	  width/hide/unhide on cell selections
 
diff --git a/src/func.c b/src/func.c
index 5563bcc..3dd0938 100644
--- a/src/func.c
+++ b/src/func.c
@@ -84,7 +84,10 @@ copy_hash_table_to_ptr_array (gpointer key, gpointer value, gpointer array)
 	if (fd->name == NULL ||
 	    strcmp (fd->name, "perl_adder") == 0 ||
 	    strcmp (fd->name, "perl_date") == 0 ||
-	    strcmp (fd->name, "perl_sed") == 0)
+	    strcmp (fd->name, "perl_sed") == 0 ||
+	    strcmp (fd->name, "py_capwords") == 0 ||
+	    strcmp (fd->name, "py_printf") == 0 ||
+	    strcmp (fd->name, "py_bitand") == 0)
 		return;
 
 	gnm_func_load_if_stub ((GnmFunc *) fd);



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