Pārlūkot izejas kodu

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

Ryan C. Gordon 21 gadi atpakaļ
vecāks
revīzija
c5bf5c15d7
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 */
 
 
 /**