From 66a7b7a8c9755283f06771ad5db97e092d393eba Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 21 Nov 2018 17:52:31 +0100 Subject: [PATCH] Remove __PAIR__ as they are now unused --- defs.h | 8 -------- 1 file changed, 8 deletions(-) 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)