From: <sp...@us...> - 2004-03-10 12:07:57
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6093 Modified Files: Array.h Log Message: Some method didn't returned anything Index: Array.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/Array.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Array.h 23 Feb 2004 18:10:07 -0000 1.5 --- Array.h 10 Mar 2004 11:42:07 -0000 1.6 *************** *** 186,191 **** public: \ class_name() : Array(sizeof(type)) { } \ ! const type *bsearch(const type *key, CmpFunction cmpfunc) { Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ ! const type *lfind(const type *key, CmpFunction cmpfunc) { Array::lfind(ARRAY_DATA(key), cmpfunc); } \ void Append(const type &item) { Array::Append(ARRAY_DATA(&item), 1); } \ void Append(const type *item, uint elements = 1) { Array::Append(ARRAY_DATA(item), elements); } \ --- 186,191 ---- public: \ class_name() : Array(sizeof(type)) { } \ ! const type *bsearch(const type *key, CmpFunction cmpfunc) { return (const type*)Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ ! const type *lfind(const type *key, CmpFunction cmpfunc) { return (const type*)Array::lfind(ARRAY_DATA(key), cmpfunc); } \ void Append(const type &item) { Array::Append(ARRAY_DATA(&item), 1); } \ void Append(const type *item, uint elements = 1) { Array::Append(ARRAY_DATA(item), elements); } \ |