Explorar o código

PHYSFS_file is now PHYSFS_File to match 2.0 API (but has a typedef for
legacy support).

Ryan C. Gordon %!s(int64=21) %!d(string=hai) anos
pai
achega
c5bf5c15d7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      physfs.h

+ 2 - 1
physfs.h

@@ -269,8 +269,9 @@ PHYSFS_COMPILE_TIME_ASSERT(sint64, sizeof(PHYSFS_sint64) == 8);
 typedef struct
 {
     void *opaque;  /**< That's all you get. Don't touch. */
-} PHYSFS_file;
+} PHYSFS_File;
 
+typedef PHYSFS_File PHYSFS_file;  /* for backwards compatibility with 1.0 */
 
 
 /**