Add logging

pull/15563/head
ncteisen 7 years ago
parent 8c13db8e43
commit 41110e8d3c
  1. 2
      test/core/channel/channel_args_test.cc

@ -153,6 +153,7 @@ struct fake_class {
}; };
static void* fake_pointer_arg_copy(void* arg) { static void* fake_pointer_arg_copy(void* arg) {
gpr_log(GPR_DEBUG, "fake_pointer_arg_copy");
fake_class* fc = static_cast<fake_class*>(arg); fake_class* fc = static_cast<fake_class*>(arg);
fake_class* new_fc = static_cast<fake_class*>(gpr_malloc(sizeof(fake_class))); fake_class* new_fc = static_cast<fake_class*>(gpr_malloc(sizeof(fake_class)));
new_fc->foo = fc->foo; new_fc->foo = fc->foo;
@ -160,6 +161,7 @@ static void* fake_pointer_arg_copy(void* arg) {
} }
static void fake_pointer_arg_destroy(void* arg) { static void fake_pointer_arg_destroy(void* arg) {
gpr_log(GPR_DEBUG, "fake_pointer_arg_destroy");
fake_class* fc = static_cast<fake_class*>(arg); fake_class* fc = static_cast<fake_class*>(arg);
gpr_free(fc); gpr_free(fc);
} }

Loading…
Cancel
Save