a slight oopsie on the location of WriteFloat and friends :P plus nq is now

endian/size clean.
This commit is contained in:
Bill Currie 2001-06-29 06:50:29 +00:00
parent 39872aad5b
commit c350bb2b1b
4 changed files with 106 additions and 102 deletions

View file

@ -66,6 +66,18 @@ int LongNoSwap (int l);
float FloatSwap (float f);
float FloatNoSwap (float f);
//NOTE: thes /always/ read and write /little/ endian entities.
struct VFile_s;
void WriteFloat (struct VFile_s *file, float f);
void WriteByte (struct VFile_s *file, int b);
void WriteShort (struct VFile_s *file, unsigned int s);
void WriteLong (struct VFile_s *file, unsigned int l);
float ReadFloat (struct VFile_s *file);
byte ReadByte (struct VFile_s *file);
unsigned short ReadShort (struct VFile_s *file);
unsigned long ReadLong (struct VFile_s *file);
//============================================================================
#endif // __qendian_h