diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2015-01-13 13:50:11 -0800 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2015-01-13 13:50:11 -0800 |
commit | 5446deaea7ffc29f6e09368cb6238da083969123 (patch) | |
tree | 994ba61d6441558edbff629b3da99d31552600bb /ruby/ext/google/protobuf_c/protobuf.c | |
parent | 052e0205a76717f39fc65e303fd2b92ab1df3028 (diff) | |
parent | ace4212e60bf1abd46181c9ddb9fe31b6d9fac45 (diff) | |
download | protobuf-5446deaea7ffc29f6e09368cb6238da083969123.tar.gz protobuf-5446deaea7ffc29f6e09368cb6238da083969123.tar.bz2 protobuf-5446deaea7ffc29f6e09368cb6238da083969123.zip |
Merge pull request #155 from cfallin/ruby-maps
Support for maps in the MRI C Ruby extension.
Diffstat (limited to 'ruby/ext/google/protobuf_c/protobuf.c')
-rw-r--r-- | ruby/ext/google/protobuf_c/protobuf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/ext/google/protobuf_c/protobuf.c b/ruby/ext/google/protobuf_c/protobuf.c index d5862284..30552705 100644 --- a/ruby/ext/google/protobuf_c/protobuf.c +++ b/ruby/ext/google/protobuf_c/protobuf.c @@ -82,6 +82,7 @@ void Init_protobuf_c() { EnumBuilderContext_register(internal); Builder_register(internal); RepeatedField_register(protobuf); + Map_register(protobuf); rb_define_singleton_method(protobuf, "encode", Google_Protobuf_encode, 1); rb_define_singleton_method(protobuf, "decode", Google_Protobuf_decode, 2); |