[sword-svn] r2515 - trunk/tests

scribe at crosswire.org scribe at crosswire.org
Tue Apr 20 14:23:02 MST 2010


Author: scribe
Date: 2010-04-20 14:23:01 -0700 (Tue, 20 Apr 2010)
New Revision: 2515

Modified:
   trunk/tests/swaptest.cpp
Log:
updated swaptest to use sword swap macros


Modified: trunk/tests/swaptest.cpp
===================================================================
--- trunk/tests/swaptest.cpp	2010-04-17 06:51:27 UTC (rev 2514)
+++ trunk/tests/swaptest.cpp	2010-04-20 21:23:01 UTC (rev 2515)
@@ -19,8 +19,8 @@
 #include <stdio.h>
 
 int main(int argc, char **argv) {
-	printf("0x%.4x 0x%.4x\n", 255, __swap16(255));
-	printf("0x%.8x 0x%.8x\n", 255, __swap32(255));
+	printf("0x%.4x 0x%.4x\n", 255, swordtoarch16(255));
+	printf("0x%.8x 0x%.8x\n", 255, swordtoarch32(255));
 //	printf("0x%.16x 0x%.16llx\n", 255, __swap64(255));
 	return 0;
 }




More information about the sword-cvs mailing list