diff options
author | Josh Haberman <jhaberman@gmail.com> | 2017-03-14 14:27:16 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2017-03-14 14:27:16 -0700 |
commit | 9c6b8cb9bfc7c31ec99566772246c9bc4317c57b (patch) | |
tree | e9820cf16923e653ee38442218d8aac82d63ec62 /ruby/ext/google/protobuf_c/protobuf.h | |
parent | 43f2db776c265a9b22500e7a67af583b2b4ce85f (diff) | |
download | protobuf-9c6b8cb9bfc7c31ec99566772246c9bc4317c57b.tar.gz protobuf-9c6b8cb9bfc7c31ec99566772246c9bc4317c57b.tar.bz2 protobuf-9c6b8cb9bfc7c31ec99566772246c9bc4317c57b.zip |
Ruby: fixed Message#to_h for map fields.
Diffstat (limited to 'ruby/ext/google/protobuf_c/protobuf.h')
-rw-r--r-- | ruby/ext/google/protobuf_c/protobuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/ext/google/protobuf_c/protobuf.h b/ruby/ext/google/protobuf_c/protobuf.h index d5ced567..520e9d9b 100644 --- a/ruby/ext/google/protobuf_c/protobuf.h +++ b/ruby/ext/google/protobuf_c/protobuf.h @@ -424,6 +424,7 @@ VALUE Map_dup(VALUE _self); VALUE Map_deep_copy(VALUE _self); VALUE Map_eq(VALUE _self, VALUE _other); VALUE Map_hash(VALUE _self); +VALUE Map_to_h(VALUE _self); VALUE Map_inspect(VALUE _self); VALUE Map_merge(VALUE _self, VALUE hashmap); VALUE Map_merge_into_self(VALUE _self, VALUE hashmap); @@ -496,6 +497,7 @@ VALUE Message_deep_copy(VALUE _self); VALUE Message_eq(VALUE _self, VALUE _other); VALUE Message_hash(VALUE _self); VALUE Message_inspect(VALUE _self); +VALUE Message_to_h(VALUE _self); VALUE Message_index(VALUE _self, VALUE field_name); VALUE Message_index_set(VALUE _self, VALUE field_name, VALUE value); VALUE Message_descriptor(VALUE klass); |