diff options
author | Chris Fallin <cfallin@c1f.net> | 2015-01-06 18:01:32 -0800 |
---|---|---|
committer | Chris Fallin <cfallin@c1f.net> | 2015-01-06 18:01:32 -0800 |
commit | 80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb (patch) | |
tree | 9500a829302bcc5c490aeb28c0fbe77b580b424f /ruby/ext/google/protobuf_c/defs.c | |
parent | fd1a3ff11d5854c34ba66c63598cdc5fd234e399 (diff) | |
download | protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.tar.gz protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.tar.bz2 protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.zip |
Addressed code-review comments.
Diffstat (limited to 'ruby/ext/google/protobuf_c/defs.c')
-rw-r--r-- | ruby/ext/google/protobuf_c/defs.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ruby/ext/google/protobuf_c/defs.c b/ruby/ext/google/protobuf_c/defs.c index 5c94a74a..499e041b 100644 --- a/ruby/ext/google/protobuf_c/defs.c +++ b/ruby/ext/google/protobuf_c/defs.c @@ -1077,11 +1077,12 @@ VALUE MessageBuilderContext_repeated(int argc, VALUE* argv, VALUE _self) { * MessageBuilderContext.map(name, key_type, value_type, number, * value_type_class = nil) * - * Defines a new map field on this message type with the given key and value types, tag - * number, and type class (for message and enum value types). The key type must - * be :int32/:uint32/:int64/:uint64, :bool, or :string. The value type type must - * be a Ruby symbol (as accepted by FieldDescriptor#type=) and the type_class - * must be a string, if present (as accepted by FieldDescriptor#submsg_name=). + * Defines a new map field on this message type with the given key and value + * types, tag number, and type class (for message and enum value types). The key + * type must be :int32/:uint32/:int64/:uint64, :bool, or :string. The value type + * type must be a Ruby symbol (as accepted by FieldDescriptor#type=) and the + * type_class must be a string, if present (as accepted by + * FieldDescriptor#submsg_name=). */ VALUE MessageBuilderContext_map(int argc, VALUE* argv, VALUE _self) { DEFINE_SELF(MessageBuilderContext, self, _self); |