physfs.h
changeset 33 313a6bc49a46
parent 29 91b45664ec85
child 39 bc29e1ee7ef6
equal deleted inserted replaced
32:09a8197fad3b 33:313a6bc49a46
   168 #define PHYSFS_VER_MAJOR 0
   168 #define PHYSFS_VER_MAJOR 0
   169 #define PHYSFS_VER_MINOR 1
   169 #define PHYSFS_VER_MINOR 1
   170 #define PHYSFS_VER_PATCH 0
   170 #define PHYSFS_VER_PATCH 0
   171 
   171 
   172 #define PHYSFS_VERSION(x) { \
   172 #define PHYSFS_VERSION(x) { \
   173                             x->major = PHYSFS_VER_MAJOR; \
   173                             (x)->major = PHYSFS_VER_MAJOR; \
   174                             x->minor = PHYSFS_VER_MINOR; \
   174                             (x)->minor = PHYSFS_VER_MINOR; \
   175                             x->patch = PHYSFS_VER_PATCH; \
   175                             (x)->patch = PHYSFS_VER_PATCH; \
   176                           }
   176                           }
   177 
   177 
   178 /**
   178 /**
   179  * Get the version of PhysicsFS that is linked against your program. If you
   179  * Get the version of PhysicsFS that is linked against your program. If you
   180  *  are using a shared library (DLL) version of PhysFS, then it is possible
   180  *  are using a shared library (DLL) version of PhysFS, then it is possible