MCPcopy Create free account
hub / github.com/apache/thrift / add_struct

Method add_struct

compiler/cpp/src/thrift/parse/t_program.h:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 void add_enum(t_enum* te) { enums_.push_back(te); }
106 void add_const(t_const* tc) { consts_.push_back(tc); }
107 void add_struct(t_struct* ts) {
108 objects_.push_back(ts);
109 structs_.push_back(ts);
110 }
111 void add_xception(t_struct* tx) {
112 objects_.push_back(tx);
113 xceptions_.push_back(tx);

Callers 2

merge_includesMethod · 0.80
gen_programFunction · 0.80

Calls

no outgoing calls

Tested by 1

gen_programFunction · 0.64