diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-11-04 04:53:10 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-11-04 04:53:10 +0000 |
commit | 23947e3030131facc78c00aaf20932cb9f599cec (patch) | |
tree | 43d00e80f2becb315fc935cc40bb96a4763babff /plugin_sample.c | |
parent | 7d94facdb6cfcd91c404d906af11de1672951600 (diff) | |
download | lcd4linux-23947e3030131facc78c00aaf20932cb9f599cec.tar.gz |
[lcd4linux @ 2005-11-04 04:53:08 by reinelt]
sample plugin activated
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@591 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_sample.c')
-rw-r--r-- | plugin_sample.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/plugin_sample.c b/plugin_sample.c index 3c80e35..c1f9077 100644 --- a/plugin_sample.c +++ b/plugin_sample.c @@ -1,4 +1,4 @@ -/* $Id: plugin_sample.c,v 1.10 2005/05/08 04:32:45 reinelt Exp $ +/* $Id: plugin_sample.c,v 1.11 2005/11/04 04:53:10 reinelt Exp $ * * plugin template * @@ -23,6 +23,9 @@ * * * $Log: plugin_sample.c,v $ + * Revision 1.11 2005/11/04 04:53:10 reinelt + * sample plugin activated + * * Revision 1.10 2005/05/08 04:32:45 reinelt * CodingStyle added and applied * @@ -246,13 +249,13 @@ int plugin_init_sample(void) /* register all our cool functions */ /* the second parameter is the number of arguments */ /* -1 stands for variable argument list */ - AddFunction("mul2", 1, my_mul2); - AddFunction("mul3", 1, my_mul3); - AddFunction("answer", 0, my_answer); - AddFunction("diff", 2, my_diff); - AddFunction("length", 1, my_length); - AddFunction("upcase", 1, my_upcase); - AddFunction("concat", -1, my_concat); + AddFunction("sample::mul2", 1, my_mul2); + AddFunction("sample::mul3", 1, my_mul3); + AddFunction("sample::answer", 0, my_answer); + AddFunction("sample::diff", 2, my_diff); + AddFunction("sample::length", 1, my_length); + AddFunction("sample::upcase", 1, my_upcase); + AddFunction("sample::concat", -1, my_concat); return 0; } |