From: James W. W. <jww...@us...> - 2005-02-19 23:01:25
|
Update of /cvsroot/quesa/quesa/Development/Source/Core/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19829/quesa/Development/Source/Core/System Modified Files: E3Group.c Log Message: In E3Group::GetPositionObject, e3group_startiterate, e3group_enditerate, call E3 rather than Q3 functions as an optimization. Index: E3Group.c =================================================================== RCS file: /cvsroot/quesa/quesa/Development/Source/Core/System/E3Group.c,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** E3Group.c 10 Feb 2005 15:43:40 -0000 1.42 --- E3Group.c 19 Feb 2005 23:01:17 -0000 1.43 *************** *** 943,949 **** #pragma unused (view) ! err = Q3Group_GetFirstPosition (group, &thePosition); if ((err == kQ3Success) && (thePosition != NULL)) ! err = Q3Group_GetPositionObject (group, thePosition, &theObject); if (object) --- 943,949 ---- #pragma unused (view) ! err = ( (E3Group*) group )->GetFirstPosition( &thePosition ); if ((err == kQ3Success) && (thePosition != NULL)) ! err = ((E3Group*)group)->GetPositionObject( thePosition, &theObject ); if (object) *************** *** 969,979 **** ! Q3Object_CleanDispose(object); ! err = Q3Group_GetNextPosition (group, iterator); if (err == kQ3Success) { if (*iterator) ! err = Q3Group_GetPositionObject (group, *iterator, object); } return(err); --- 969,979 ---- ! E3Object_CleanDispose(object); ! err = ((E3Group*)group)->GetNextPosition( iterator ); if (err == kQ3Success) { if (*iterator) ! err = ((E3Group*)group)->GetPositionObject (*iterator, object); } return(err); *************** *** 2693,2697 **** if ( pos && pos->object ) { ! *object = Q3Shared_GetReference ( pos->object ) ; return kQ3Success ; } --- 2693,2697 ---- if ( pos && pos->object ) { ! *object = ( (E3Shared*)(pos->object) )->GetReference(); return kQ3Success ; } |