Jelajahi Sumber

Added some more error string constants.

Ryan C. Gordon 24 tahun lalu
induk
melakukan
7781457070
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      physfs_internal.h

+ 3 - 0
physfs_internal.h

@@ -263,6 +263,9 @@ typedef struct __PHYSFS_DIRFUNCTIONS__
 #define ERR_COMPRESSION          "(De)compression error"
 #define ERR_COMPRESSION          "(De)compression error"
 #define ERR_NOT_IMPLEMENTED      "Not implemented"
 #define ERR_NOT_IMPLEMENTED      "Not implemented"
 #define ERR_OS_ERROR             "Operating system reported error"
 #define ERR_OS_ERROR             "Operating system reported error"
+#define ERR_FILE_EXISTS          "File already exists"
+#define ERR_NOT_A_DIR            "Not a directory"
+#define ERR_FILE_NOT_FOUND       "File not found"
 
 
 /*
 /*
  * Call this to set the message returned by PHYSFS_getLastError().
  * Call this to set the message returned by PHYSFS_getLastError().