Re: Adding function through functions.c



Which gnumeric version are you using? The third field in
GnmFuncDescriptor disappeared at some point in 1.9.x
You might also check that the plugin has been correctly installed and is
loaded.

Regards,
Jean

Le dimanche 16 août 2009 à 13:03 +0200, Vlad Anuchin a écrit :
Hi 

I'm trying to add a function 'pee()' to Gnumeric in functions.c under
fn-math So far:
1) Created both: 'static GnmFuncHelp const help_pee' and static
'GnmValue * gnumeric_pee' (copies of pi() implementation) 2) Added
{ "pee",      "", "",           help_pee, gnumeric_pee, NULL, NULL,
NULL, NULL, GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE,
GNM_FUNC_TEST_STATUS_EXHAUSTIVE } in 'GnmFuncDescriptor const
math_functions[]' 3) Added '<function name="pee"/>' in plugin.xml and
plugin.xml.in

Yet, in Gnumeric on '=pee()' '#NAME' is the response. What am I missing?

(newbee)
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
http://mail.gnome.org/mailman/listinfo/gnumeric-list





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