[sword-cvs] sword/bindings flatapi.cpp,1.6,1.7
sword@www.crosswire.org
sword@www.crosswire.org
Fri, 4 Jul 2003 21:58:44 -0700
Update of /usr/local/cvsroot/sword/bindings
In directory www:/tmp/cvs-serv7690/bindings
Modified Files:
flatapi.cpp
Log Message:
Added SWOptionFilter
Index: flatapi.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/flatapi.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** flatapi.cpp 18 Oct 2002 01:57:47 -0000 1.6
--- flatapi.cpp 5 Jul 2003 04:58:42 -0000 1.7
***************
*** 113,117 ****
SWHANDLE SWMgr_getGlobalOptionsIterator(SWHANDLE hmgr) {
SWMgr *mgr = (SWMgr *)hmgr;
! static OptionsList::iterator it;
if (mgr)
--- 113,117 ----
SWHANDLE SWMgr_getGlobalOptionsIterator(SWHANDLE hmgr) {
SWMgr *mgr = (SWMgr *)hmgr;
! static StringList::iterator it;
if (mgr)
***************
*** 124,128 ****
SWHANDLE SWMgr_getGlobalOptionValuesIterator(SWHANDLE hmgr, const char *option) {
SWMgr *mgr = (SWMgr *)hmgr;
! static OptionsList::iterator it;
if (mgr)
--- 124,128 ----
SWHANDLE SWMgr_getGlobalOptionValuesIterator(SWHANDLE hmgr, const char *option) {
SWMgr *mgr = (SWMgr *)hmgr;
! static StringList::iterator it;
if (mgr)
***************
*** 242,246 ****
void stringlist_iterator_next(SWHANDLE hsli) {
! OptionsList::iterator *sli = (OptionsList::iterator *)hsli;
(*sli)++;
}
--- 242,246 ----
void stringlist_iterator_next(SWHANDLE hsli) {
! StringList::iterator *sli = (StringList::iterator *)hsli;
(*sli)++;
}
***************
*** 248,252 ****
const char *stringlist_iterator_val(SWHANDLE hsli) {
! OptionsList::iterator *sli = (OptionsList::iterator *)hsli;
return (const char *)(*sli)->c_str();
}
--- 248,252 ----
const char *stringlist_iterator_val(SWHANDLE hsli) {
! StringList::iterator *sli = (StringList::iterator *)hsli;
return (const char *)(*sli)->c_str();
}