/[enigma]/enigma/lib-src/oxydlib/VecUtils.cpp
ViewVC logotype

Diff of /enigma/lib-src/oxydlib/VecUtils.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dheck, Sun Jan 19 17:17:24 2003 UTC revision 1.2 by reallysoft, Wed Jun 25 19:31:59 2003 UTC
# Line 18  Line 18 
18    
19  #include "VecUtils.h"  #include "VecUtils.h"
20    
21    namespace OxydLib {
22    
23  unsigned int getInt2(ByteVec::const_iterator it)  unsigned int getInt2(ByteVec::const_iterator it)
24  {  {
25    return (((unsigned int)(*it)) << 8) |    return (((unsigned int)(*it)) << 8) |
# Line 73  void putInt4Reversed(ByteVec::iterator i Line 75  void putInt4Reversed(ByteVec::iterator i
75    *(it + 2) = (unsigned char)((ii & 0x00ff0000) >> 16);    *(it + 2) = (unsigned char)((ii & 0x00ff0000) >> 16);
76    *(it + 3) = (unsigned char)((ii & 0xff000000) >> 24);    *(it + 3) = (unsigned char)((ii & 0xff000000) >> 24);
77  }  }
78    
79    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26