physfs_byteorder.c
changeset 654 c0ae01de361d
parent 629 b01a59827192
child 695 73bfbbe645a8
--- a/physfs_byteorder.c	Sun Sep 26 13:16:06 2004 +0000
+++ b/physfs_byteorder.c	Sun Sep 26 13:17:54 2004 +0000
@@ -104,7 +104,7 @@
 #endif
 
 
-int PHYSFS_readSLE16(PHYSFS_file *file, PHYSFS_sint16 *val)
+int PHYSFS_readSLE16(PHYSFS_File *file, PHYSFS_sint16 *val)
 {
     PHYSFS_sint16 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -114,7 +114,7 @@
 } /* PHYSFS_readSLE16 */
 
 
-int PHYSFS_readULE16(PHYSFS_file *file, PHYSFS_uint16 *val)
+int PHYSFS_readULE16(PHYSFS_File *file, PHYSFS_uint16 *val)
 {
     PHYSFS_uint16 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -124,7 +124,7 @@
 } /* PHYSFS_readULE16 */
 
 
-int PHYSFS_readSBE16(PHYSFS_file *file, PHYSFS_sint16 *val)
+int PHYSFS_readSBE16(PHYSFS_File *file, PHYSFS_sint16 *val)
 {
     PHYSFS_sint16 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -134,7 +134,7 @@
 } /* PHYSFS_readSBE16 */
 
 
-int PHYSFS_readUBE16(PHYSFS_file *file, PHYSFS_uint16 *val)
+int PHYSFS_readUBE16(PHYSFS_File *file, PHYSFS_uint16 *val)
 {
     PHYSFS_uint16 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -144,7 +144,7 @@
 } /* PHYSFS_readUBE16 */
 
 
-int PHYSFS_readSLE32(PHYSFS_file *file, PHYSFS_sint32 *val)
+int PHYSFS_readSLE32(PHYSFS_File *file, PHYSFS_sint32 *val)
 {
     PHYSFS_sint32 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -154,7 +154,7 @@
 } /* PHYSFS_readSLE32 */
 
 
-int PHYSFS_readULE32(PHYSFS_file *file, PHYSFS_uint32 *val)
+int PHYSFS_readULE32(PHYSFS_File *file, PHYSFS_uint32 *val)
 {
     PHYSFS_uint32 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -164,7 +164,7 @@
 } /* PHYSFS_readULE32 */
 
 
-int PHYSFS_readSBE32(PHYSFS_file *file, PHYSFS_sint32 *val)
+int PHYSFS_readSBE32(PHYSFS_File *file, PHYSFS_sint32 *val)
 {
     PHYSFS_sint32 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -174,7 +174,7 @@
 } /* PHYSFS_readSBE32 */
 
 
-int PHYSFS_readUBE32(PHYSFS_file *file, PHYSFS_uint32 *val)
+int PHYSFS_readUBE32(PHYSFS_File *file, PHYSFS_uint32 *val)
 {
     PHYSFS_uint32 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -184,7 +184,7 @@
 } /* PHYSFS_readUBE32 */
 
 
-int PHYSFS_readSLE64(PHYSFS_file *file, PHYSFS_sint64 *val)
+int PHYSFS_readSLE64(PHYSFS_File *file, PHYSFS_sint64 *val)
 {
     PHYSFS_sint64 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -194,7 +194,7 @@
 } /* PHYSFS_readSLE64 */
 
 
-int PHYSFS_readULE64(PHYSFS_file *file, PHYSFS_uint64 *val)
+int PHYSFS_readULE64(PHYSFS_File *file, PHYSFS_uint64 *val)
 {
     PHYSFS_uint64 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -204,7 +204,7 @@
 } /* PHYSFS_readULE64 */
 
 
-int PHYSFS_readSBE64(PHYSFS_file *file, PHYSFS_sint64 *val)
+int PHYSFS_readSBE64(PHYSFS_File *file, PHYSFS_sint64 *val)
 {
     PHYSFS_sint64 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -214,7 +214,7 @@
 } /* PHYSFS_readSBE64 */
 
 
-int PHYSFS_readUBE64(PHYSFS_file *file, PHYSFS_uint64 *val)
+int PHYSFS_readUBE64(PHYSFS_File *file, PHYSFS_uint64 *val)
 {
     PHYSFS_uint64 in;
     BAIL_IF_MACRO(val == NULL, ERR_INVALID_ARGUMENT, 0);
@@ -225,7 +225,7 @@
 
 
 
-int PHYSFS_writeSLE16(PHYSFS_file *file, PHYSFS_sint16 val)
+int PHYSFS_writeSLE16(PHYSFS_File *file, PHYSFS_sint16 val)
 {
     PHYSFS_sint16 out = PHYSFS_swapSLE16(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -233,7 +233,7 @@
 } /* PHYSFS_writeSLE16 */
 
 
-int PHYSFS_writeULE16(PHYSFS_file *file, PHYSFS_uint16 val)
+int PHYSFS_writeULE16(PHYSFS_File *file, PHYSFS_uint16 val)
 {
     PHYSFS_uint16 out = PHYSFS_swapULE16(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -241,7 +241,7 @@
 } /* PHYSFS_writeULE16 */
 
 
-int PHYSFS_writeSBE16(PHYSFS_file *file, PHYSFS_sint16 val)
+int PHYSFS_writeSBE16(PHYSFS_File *file, PHYSFS_sint16 val)
 {
     PHYSFS_sint16 out = PHYSFS_swapSBE16(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -249,7 +249,7 @@
 } /* PHYSFS_writeSBE16 */
 
 
-int PHYSFS_writeUBE16(PHYSFS_file *file, PHYSFS_uint16 val)
+int PHYSFS_writeUBE16(PHYSFS_File *file, PHYSFS_uint16 val)
 {
     PHYSFS_uint16 out = PHYSFS_swapUBE16(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -257,7 +257,7 @@
 } /* PHYSFS_writeUBE16 */
 
 
-int PHYSFS_writeSLE32(PHYSFS_file *file, PHYSFS_sint32 val)
+int PHYSFS_writeSLE32(PHYSFS_File *file, PHYSFS_sint32 val)
 {
     PHYSFS_sint32 out = PHYSFS_swapSLE32(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -265,7 +265,7 @@
 } /* PHYSFS_writeSLE32 */
 
 
-int PHYSFS_writeULE32(PHYSFS_file *file, PHYSFS_uint32 val)
+int PHYSFS_writeULE32(PHYSFS_File *file, PHYSFS_uint32 val)
 {
     PHYSFS_uint32 out = PHYSFS_swapULE32(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -273,7 +273,7 @@
 } /* PHYSFS_writeULE32 */
 
 
-int PHYSFS_writeSBE32(PHYSFS_file *file, PHYSFS_sint32 val)
+int PHYSFS_writeSBE32(PHYSFS_File *file, PHYSFS_sint32 val)
 {
     PHYSFS_sint32 out = PHYSFS_swapSBE32(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -281,7 +281,7 @@
 } /* PHYSFS_writeSBE32 */
 
 
-int PHYSFS_writeUBE32(PHYSFS_file *file, PHYSFS_uint32 val)
+int PHYSFS_writeUBE32(PHYSFS_File *file, PHYSFS_uint32 val)
 {
     PHYSFS_uint32 out = PHYSFS_swapUBE32(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -289,7 +289,7 @@
 } /* PHYSFS_writeUBE32 */
 
 
-int PHYSFS_writeSLE64(PHYSFS_file *file, PHYSFS_sint64 val)
+int PHYSFS_writeSLE64(PHYSFS_File *file, PHYSFS_sint64 val)
 {
     PHYSFS_sint64 out = PHYSFS_swapSLE64(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -297,7 +297,7 @@
 } /* PHYSFS_writeSLE64 */
 
 
-int PHYSFS_writeULE64(PHYSFS_file *file, PHYSFS_uint64 val)
+int PHYSFS_writeULE64(PHYSFS_File *file, PHYSFS_uint64 val)
 {
     PHYSFS_uint64 out = PHYSFS_swapULE64(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -305,7 +305,7 @@
 } /* PHYSFS_writeULE64 */
 
 
-int PHYSFS_writeSBE64(PHYSFS_file *file, PHYSFS_sint64 val)
+int PHYSFS_writeSBE64(PHYSFS_File *file, PHYSFS_sint64 val)
 {
     PHYSFS_sint64 out = PHYSFS_swapSBE64(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);
@@ -313,7 +313,7 @@
 } /* PHYSFS_writeSBE64 */
 
 
-int PHYSFS_writeUBE64(PHYSFS_file *file, PHYSFS_uint64 val)
+int PHYSFS_writeUBE64(PHYSFS_File *file, PHYSFS_uint64 val)
 {
     PHYSFS_uint64 out = PHYSFS_swapUBE64(val);
     BAIL_IF_MACRO(PHYSFS_write(file, &out, sizeof (out), 1) != 1, NULL, 0);