[sword-cvs] sword/bindings/swig localemgr.i,1.3,1.4 sword.pl,1.3,1.4

sword@www.crosswire.org sword@www.crosswire.org
Fri, 6 Feb 2004 14:01:32 -0700


Update of /cvs/core/sword/bindings/swig
In directory www:/tmp/cvs-serv27118/bindings/swig

Modified Files:
	localemgr.i sword.pl 
Log Message:
	Changed system[Log|File|Locale]Mgr to
		*Mgr *[get|set]System*Mgr() per Daniel Glassey's
		discovery of potential problems from order of
		initializing statics.

	Added new prefix recognition for OSIS lemma prefix
		"strong:"



Index: localemgr.i
===================================================================
RCS file: /cvs/core/sword/bindings/swig/localemgr.i,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- localemgr.i	28 Jun 2003 21:08:56 -0000	1.3
+++ localemgr.i	6 Feb 2004 21:01:00 -0000	1.4
@@ -19,7 +19,7 @@
 
 %extend {
   static LocaleMgr* const getSystemLocaleMgr() {
-  	return &(LocaleMgr::systemLocaleMgr);
+  	return LocaleMgr::getSystemLocaleMgr();
   };
 }
 };

Index: sword.pl
===================================================================
RCS file: /cvs/core/sword/bindings/swig/sword.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sword.pl	1 Oct 2002 19:52:40 -0000	1.3
+++ sword.pl	6 Feb 2004 21:01:00 -0000	1.4
@@ -22,7 +22,7 @@
 
 #testing SWMgr
 print "testing SWMgr\n";
-#$localemgr = sword::LocaleMgr::systemLocaleMgr();
+#$localemgr = sword::LocaleMgr::getSystemLocaleMgr();
 #$localemgr->setDefaultLocaleName("de");
 
 $mgr = new sword::SWMgr();