Macros
src/core/lib/gpr/alloc.h File Reference
#include <grpc/support/port_platform.h>
Include dependency graph for src/core/lib/gpr/alloc.h:
This graph shows which files directly or indirectly include this file:

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*).

Definition at line 25 of file src/core/lib/gpr/alloc.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02