Merge pull request #15204 from yashykt/debugassert

Add GPR_DEBUG_ASSERT
pull/15224/head
Yash Tibrewal 7 years ago committed by GitHub
commit 141932beb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      include/grpc/support/log.h

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

Loading…
Cancel
Save