Add GPR_DEBUG_ASSERT

pull/15204/head
Yash Tibrewal 7 years ago
parent 6f3cadb687
commit a3ba733a84
  1. 6
      include/grpc/support/log.h

@ -99,6 +99,12 @@ GPRAPI void gpr_set_log_function(gpr_log_func func);
} \
} while (0)
#ifndef NDEBUG
#define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x)
#else
#define GPR_DEBUG_ASSERT(x)
#endif
#ifdef __cplusplus
}
#endif

Loading…
Cancel
Save