Changeset 7 for abuse/trunk/src/imlib/include/specs.hpp
- Timestamp:
- Nov 6, 2005, 7:07:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/include/specs.hpp
r2 r7 7 7 #include <fcntl.h> 8 8 #include <stdlib.h> 9 #include <stdint.h> 9 10 10 11 extern char *spec_types[]; … … 96 97 97 98 // these read and writes, allways read/write Intel endian-ness 98 u nsigned short read_short();99 u nsigned longread_long();100 u nsigned charread_byte();99 uint16_t read_short(); 100 uint32_t read_long(); 101 uint8_t read_byte(); 101 102 double read_double(); 102 void write_short(u nsigned short x);103 void write_long(u nsigned longx);104 void write_byte(u nsigned charx);103 void write_short(uint16_t x); 104 void write_long(uint32_t x); 105 void write_byte(uint8_t x); 105 106 void write_double(double x); 106 107 void set_read_buffer_size(long size); … … 193 194 char *link_filename=NULL);*/ 194 195 195 u nsigned short read_short(FILE *fp);196 u nsigned longread_long(FILE *fp);197 u nsigned short read_other_long(FILE *fp);198 u nsigned longread_other_short(FILE *fp);199 u nsigned charread_byte(FILE *fp);200 201 void write_short(FILE *fp, u nsigned short x);202 void write_long(FILE *fp, u nsigned longx);203 void write_other_short(FILE *fp, u nsigned short x);204 void write_other_long(FILE *fp, u nsigned longx);205 void write_byte(FILE *fp, u nsigned charx);196 uint16_t read_short(FILE *fp); 197 uint32_t read_long(FILE *fp); 198 uint32_t read_other_long(FILE *fp); 199 uint16_t read_other_short(FILE *fp); 200 uint8_t read_byte(FILE *fp); 201 202 void write_short(FILE *fp, uint16_t x); 203 void write_long(FILE *fp, uint32_t x); 204 void write_other_short(FILE *fp, uint16_t x); 205 void write_other_long(FILE *fp, uint32_t x); 206 void write_byte(FILE *fp, uint8_t x); 206 207 207 208 void set_spec_main_file(char *filename, int Search_order);
Note: See TracChangeset
for help on using the changeset viewer.