Просмотр исходного кода

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

Ryan C. Gordon 21 лет назад
Родитель
Сommit
c5bf5c15d7
1 измененных файлов с 2 добавлено и 1 удалено
  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 */
 
 
 /**