GRPC Core  9.0.0
Macros
alloc.h File Reference
#include <grpc/support/port_platform.h>

Go to the source code of this file.

Macros

#define GPR_ROUND_UP_TO_ALIGNMENT_SIZE(x)    (((x) + GPR_MAX_ALIGNMENT - 1u) & ~(GPR_MAX_ALIGNMENT - 1u))
 Given a size, round up to the next multiple of sizeof(void*). More...
 

Macro Definition Documentation

◆ GPR_ROUND_UP_TO_ALIGNMENT_SIZE

#define GPR_ROUND_UP_TO_ALIGNMENT_SIZE (   x)     (((x) + GPR_MAX_ALIGNMENT - 1u) & ~(GPR_MAX_ALIGNMENT - 1u))

Given a size, round up to the next multiple of sizeof(void*).