Update of /cvsroot/pure-data/externals/grill/dynext/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5777/src
Modified Files: main.cpp Log Message: some more documentation (proxy objects) rename help file make connections visible at last... fixed send method so that any messages work now
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/dynext/src/main.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main.cpp 23 Apr 2005 21:45:41 -0000 1.9 --- main.cpp 3 Sep 2005 14:04:41 -0000 1.10 *************** *** 830,834 **** --- 830,842 ---- else if(!canvasmsg && o->AsGlist()) post("%s - send: object "%s" is an abstraction, please create proxy",thisName(),GetString(argv[0])); + else if(IsSymbol(argv[1])) { + const t_symbol *s = GetSymbol(argv[1]); + if(s == sym_list) + pd_forwardmess((t_pd *)o->object,argc-2,(t_atom *)argv+2); + else + pd_typedmess((t_pd *)o->object,(t_symbol *)s,argc-2,(t_atom *)argv+2); + } else + // assume it's a list pd_forwardmess((t_pd *)o->object,argc-1,(t_atom *)argv+1); }