diff --git a/defs.h b/defs.h index b233546ce..a634dce9c 100644 --- a/defs.h +++ b/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 int16 __PAIR__( int8 high, T low) { return ((( int16)high) << sizeof(high)*8) | uint8(low); } -template int32 __PAIR__( int16 high, T low) { return ((( int32)high) << sizeof(high)*8) | uint16(low); } -template int64 __PAIR__( int32 high, T low) { return ((( int64)high) << sizeof(high)*8) | uint32(low); } -template uint16 __PAIR__(uint8 high, T low) { return (((uint16)high) << sizeof(high)*8) | uint8(low); } -template uint32 __PAIR__(uint16 high, T low) { return (((uint32)high) << sizeof(high)*8) | uint16(low); } -template uint64 __PAIR__(uint32 high, T low) { return (((uint64)high) << sizeof(high)*8) | uint32(low); } - // rotate left template T __ROL__(T value, int count)