Add clarifying comment

pull/14429/head
ncteisen 7 years ago
parent bf323a985f
commit ff19019e50
  1. 3
      src/core/lib/channel/channel_args.h

@ -110,7 +110,8 @@ int grpc_channel_arg_get_integer(const grpc_arg* arg,
const grpc_integer_options options);
/** Returns the value of \a arg if \a arg is of type GRPC_ARG_STRING.
Otherwise, emits a warning log, and returns nullptr */
Otherwise, emits a warning log, and returns nullptr.
If arg is nullptr, returns nullptr, and does not emit a warning. */
char* grpc_channel_arg_get_string(const grpc_arg* arg);
bool grpc_channel_arg_get_bool(const grpc_arg* arg, bool default_value);

Loading…
Cancel
Save