Changeset 1394 for trunk/src/z-file.h
- Timestamp:
- 05/15/09 03:13:21 (16 months ago)
- Files:
-
- 1 modified
-
trunk/src/z-file.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/z-file.h
r1263 r1394 39 39 */ 40 40 size_t path_build(char *buf, size_t len, const char *base, const char *leaf); 41 42 43 44 /*** Byte-flipping functions ***/45 46 /**47 * "Flip" the bits of the integer specified in `arg` to make them big-endian.48 * Useful when writing to files intended to be portable across systems.49 *50 * Returns the flipped value, or the original if the current system is already51 * big-endian.52 */53 u16b flip_u16b(u16b arg);54 u32b flip_u32b(u32b arg);55 41 56 42
