THRIFT-697. Union support in Ruby
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@910700 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/ext/struct.h b/lib/rb/ext/struct.h
index 37b1b35..48ccef8 100644
--- a/lib/rb/ext/struct.h
+++ b/lib/rb/ext/struct.h
@@ -17,6 +17,7 @@
* under the License.
*/
+
#include <stdbool.h>
#include <ruby.h>
@@ -41,7 +42,7 @@
VALUE (*write_field_stop)(VALUE);
VALUE (*write_message_begin)(VALUE, VALUE, VALUE, VALUE);
VALUE (*write_message_end)(VALUE);
-
+
VALUE (*read_message_begin)(VALUE);
VALUE (*read_message_end)(VALUE);
VALUE (*read_field_begin)(VALUE);
@@ -61,7 +62,7 @@
VALUE (*read_string)(VALUE);
VALUE (*read_struct_begin)(VALUE);
VALUE (*read_struct_end)(VALUE);
-
} native_proto_method_table;
void Init_struct();
+void Init_union();