blob: 1922fb16b36218dea574b9535e1313e0dd1ff790 [file] [log] [blame]
Bryan Duxburyc0166282009-02-02 00:48:17 +00001
2extern int TTYPE_STOP;
3extern int TTYPE_BOOL;
4extern int TTYPE_BYTE;
5extern int TTYPE_I16;
6extern int TTYPE_I32;
7extern int TTYPE_I64;
8extern int TTYPE_DOUBLE;
9extern int TTYPE_STRING;
10extern int TTYPE_MAP;
11extern int TTYPE_SET;
12extern int TTYPE_LIST;
13extern int TTYPE_STRUCT;
14
15extern ID validate_method_id;
16extern ID write_struct_begin_method_id;
17extern ID write_struct_end_method_id;
18extern ID write_field_begin_method_id;
19extern ID write_field_end_method_id;
20extern ID write_boolean_method_id;
21extern ID write_byte_method_id;
22extern ID write_i16_method_id;
23extern ID write_i32_method_id;
24extern ID write_i64_method_id;
25extern ID write_double_method_id;
26extern ID write_string_method_id;
27extern ID write_map_begin_method_id;
28extern ID write_map_end_method_id;
29extern ID write_list_begin_method_id;
30extern ID write_list_end_method_id;
31extern ID write_set_begin_method_id;
32extern ID write_set_end_method_id;
33extern ID size_method_id;
34extern ID read_bool_method_id;
35extern ID read_byte_method_id;
36extern ID read_i16_method_id;
37extern ID read_i32_method_id;
38extern ID read_i64_method_id;
39extern ID read_string_method_id;
40extern ID read_double_method_id;
41extern ID read_map_begin_method_id;
42extern ID read_map_end_method_id;
43extern ID read_list_begin_method_id;
44extern ID read_list_end_method_id;
45extern ID read_set_begin_method_id;
46extern ID read_set_end_method_id;
47extern ID read_struct_begin_method_id;
48extern ID read_struct_end_method_id;
49extern ID read_field_begin_method_id;
50extern ID read_field_end_method_id;
51extern ID keys_method_id;
52extern ID entries_method_id;
53extern ID name_method_id;
54extern ID sort_method_id;
55extern ID write_field_stop_method_id;
56extern ID skip_method_id;
57extern ID write_method_id;
58extern ID read_method_id;
59extern ID native_qmark_method_id;
60
61extern ID fields_const_id;
62extern ID transport_ivar_id;
Kevin Clarkead33822009-02-04 22:43:59 +000063extern ID strict_read_ivar_id;
64extern ID strict_write_ivar_id;
Bryan Duxburyc0166282009-02-02 00:48:17 +000065
66extern VALUE type_sym;
67extern VALUE name_sym;
68extern VALUE key_sym;
69extern VALUE value_sym;
70extern VALUE element_sym;
71extern VALUE class_sym;
72
73extern VALUE rb_cSet;
74extern VALUE thrift_module;
75extern VALUE thrift_types_module;
76extern VALUE class_thrift_protocol;
Bryan Duxbury1e80d442009-02-03 18:16:54 +000077extern VALUE protocol_exception_class;