Update of /cvsroot/pure-data/externals/grill/flext/tutorial/simple3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3262/tutorial/simple3
Modified Files: main.cpp Log Message: small fixes for tutorial examples fixed help methods fixed typos, dates, contact info added typed flext::NewAligned
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/tutorial/simple3/main.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** main.cpp 2 Jan 2003 04:32:07 -0000 1.4 --- main.cpp 22 Sep 2006 09:20:21 -0000 1.5 *************** *** 2,6 **** flext tutorial - simple 3
! Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. --- 2,6 ---- flext tutorial - simple 3
! Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. *************** *** 16,21 ****
// check for appropriate flext version ! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400) ! #error You need at least flext version 0.4.0 #endif
--- 16,21 ----
// check for appropriate flext version ! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500) ! #error You need at least flext version 0.5.0 #endif
*************** *** 35,39 ****
// override default flext help function ! virtual void m_help(); private: --- 35,39 ----
// override default flext help function ! void m_help(); private: *************** *** 42,45 **** --- 42,47 ---- FLEXT_CALLBACK_I(m_tag_and_int) // callback for method "m_tag_and_int" (int arguments) FLEXT_CALLBACK_S(m_sym) // callback for method "m_sym" (with one symbol argument) + + FLEXT_CALLBACK(m_help) // callback for method "m_help" (no arguments) };
*************** *** 60,63 **** --- 62,67 ----
FLEXT_ADDMETHOD(0,m_sym); // register method for all other symbols + + FLEXT_ADDMETHOD_(0,"help",m_help); // register method for "help" message }