Browse Source

Remove __PAIR__ as they are now unused

pull/25/head
Anders Jenbo 7 years ago
parent
commit
66a7b7a8c9
  1. 8
      defs.h

8
defs.h

@ -182,14 +182,6 @@ inline void *qmemcpy(void *dst, const void *src, size_t cnt)
}
#endif
// Generate a reference to pair of operands
template<class T> int16 __PAIR__( int8 high, T low) { return ((( int16)high) << sizeof(high)*8) | uint8(low); }
template<class T> int32 __PAIR__( int16 high, T low) { return ((( int32)high) << sizeof(high)*8) | uint16(low); }
template<class T> int64 __PAIR__( int32 high, T low) { return ((( int64)high) << sizeof(high)*8) | uint32(low); }
template<class T> uint16 __PAIR__(uint8 high, T low) { return (((uint16)high) << sizeof(high)*8) | uint8(low); }
template<class T> uint32 __PAIR__(uint16 high, T low) { return (((uint32)high) << sizeof(high)*8) | uint16(low); }
template<class T> uint64 __PAIR__(uint32 high, T low) { return (((uint64)high) << sizeof(high)*8) | uint32(low); }
// rotate left
template <class T>
T __ROL__(T value, int count)

Loading…
Cancel
Save