GRPC Core  10.0.0
Macros
port_platform.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define GRPC_USE_ABSL   1
 
#define GPR_PLATFORM_STRING   "unknown"
 
#define GPR_CYCLE_COUNTER_FALLBACK   1
 
#define GPR_CACHELINE_SIZE_LOG   6
 
#define GPR_CACHELINE_SIZE   (1 << GPR_CACHELINE_SIZE_LOG)
 
#define GPR_MAX_ALIGNMENT   16
 
#define GRPC_ARES   1
 
#define GRPC_IF_NAMETOINDEX   1
 
#define GRPC_MUST_USE_RESULT
 
#define GPR_ALIGN_STRUCT(n)
 
#define GRPC_UNUSED
 
#define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS)
 
#define GPR_UNREACHABLE_CODE(STATEMENT)
 
#define GPRAPI
 
#define GRPCAPI   GPRAPI
 
#define CENSUSAPI   GRPCAPI
 
#define GPR_HAS_ATTRIBUTE(a)   0
 
#define GPR_HAS_FEATURE(a)   0
 
#define GPR_ATTRIBUTE_NOINLINE
 
#define GPR_ATTRIBUTE_WEAK
 
#define GPR_ATTRIBUTE_NO_TSAN
 
#define GRPC_ALLOW_EXCEPTIONS   0
 
#define GPR_LIKELY(x)   (x)
 
#define GPR_UNLIKELY(x)   (x)
 
#define __STDC_FORMAT_MACROS
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS

◆ CENSUSAPI

#define CENSUSAPI   GRPCAPI

◆ GPR_ALIGN_STRUCT

#define GPR_ALIGN_STRUCT (   n)

◆ GPR_ATTRIBUTE_NO_TSAN

#define GPR_ATTRIBUTE_NO_TSAN

◆ GPR_ATTRIBUTE_NOINLINE

#define GPR_ATTRIBUTE_NOINLINE

◆ GPR_ATTRIBUTE_WEAK

#define GPR_ATTRIBUTE_WEAK

◆ GPR_CACHELINE_SIZE

#define GPR_CACHELINE_SIZE   (1 << GPR_CACHELINE_SIZE_LOG)

◆ GPR_CACHELINE_SIZE_LOG

#define GPR_CACHELINE_SIZE_LOG   6

◆ GPR_CYCLE_COUNTER_FALLBACK

#define GPR_CYCLE_COUNTER_FALLBACK   1

◆ GPR_HAS_ATTRIBUTE

#define GPR_HAS_ATTRIBUTE (   a)    0

◆ GPR_HAS_FEATURE

#define GPR_HAS_FEATURE (   a)    0

◆ GPR_LIKELY

#define GPR_LIKELY (   x)    (x)

◆ GPR_MAX_ALIGNMENT

#define GPR_MAX_ALIGNMENT   16

◆ GPR_PLATFORM_STRING

#define GPR_PLATFORM_STRING   "unknown"

◆ GPR_PRINT_FORMAT_CHECK

#define GPR_PRINT_FORMAT_CHECK (   FORMAT_STR,
  ARGS 
)

◆ GPR_UNLIKELY

#define GPR_UNLIKELY (   x)    (x)

◆ GPR_UNREACHABLE_CODE

#define GPR_UNREACHABLE_CODE (   STATEMENT)
Value:
do { \
gpr_log(GPR_ERROR, "Should never reach here."); \
abort(); \
STATEMENT; \
} while (0)

◆ GPRAPI

#define GPRAPI

◆ GRPC_ALLOW_EXCEPTIONS

#define GRPC_ALLOW_EXCEPTIONS   0

◆ GRPC_ARES

#define GRPC_ARES   1

◆ GRPC_IF_NAMETOINDEX

#define GRPC_IF_NAMETOINDEX   1

◆ GRPC_MUST_USE_RESULT

#define GRPC_MUST_USE_RESULT

◆ GRPC_UNUSED

#define GRPC_UNUSED

◆ GRPC_USE_ABSL

#define GRPC_USE_ABSL   1

◆ GRPCAPI

#define GRPCAPI   GPRAPI
GPR_ERROR
#define GPR_ERROR
Definition: log.h:57