[sword-svn] r3230 - trunk/bindings

scribe at crosswire.org scribe at crosswire.org
Wed May 14 10:30:00 MST 2014


Author: scribe
Date: 2014-05-14 10:30:00 -0700 (Wed, 14 May 2014)
New Revision: 3230

Modified:
   trunk/bindings/flatapi.cpp
Log:
workaround for MSVC's inability to reference anon namespace

Modified: trunk/bindings/flatapi.cpp
===================================================================
--- trunk/bindings/flatapi.cpp	2014-05-09 09:32:36 UTC (rev 3229)
+++ trunk/bindings/flatapi.cpp	2014-05-14 17:30:00 UTC (rev 3230)
@@ -70,7 +70,7 @@
 }
 
 
-void clearModInfo(org_crosswire_sword_ModInfo **modInfo) {
+void clearModInfoArray(org_crosswire_sword_ModInfo **modInfo) {
 	if (*modInfo) {
 		for (int i = 0; true; ++i) {
 			if ((*modInfo)[i].name) {
@@ -221,7 +221,7 @@
 	}
 
 	void clearModInfo() {
-		::clearModInfo(&modInfo);
+		clearModInfoArray(&modInfo);
 	}
 
 	~HandleSWMgr() {
@@ -289,7 +289,7 @@
 	}
 
 	void clearModInfo() {
-		::clearModInfo(&modInfo);
+		clearModInfoArray(&modInfo);
 	}
 };
 




More information about the sword-cvs mailing list