mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-08 09:21:06 +02: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