mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
util: remove unused [U](BEGIN|END) macros
This commit is contained in:
@@ -15,10 +15,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#define BEGIN(a) ((char*)&(a))
|
|
||||||
#define END(a) ((char*)&((&(a))[1]))
|
|
||||||
#define UBEGIN(a) ((unsigned char*)&(a))
|
|
||||||
#define UEND(a) ((unsigned char*)&((&(a))[1]))
|
|
||||||
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
|
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
|
||||||
|
|
||||||
/** Used by SanitizeString() */
|
/** Used by SanitizeString() */
|
||||||
|
|||||||
Reference in New Issue
Block a user