THRIFT-582 C(c_glib) implementation of Thrift
Patch: Anatol Pomozov and Michael Lum
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1027933 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/parse/t_program.h b/compiler/cpp/src/parse/t_program.h
index 320d1f0..440d151 100644
--- a/compiler/cpp/src/parse/t_program.h
+++ b/compiler/cpp/src/parse/t_program.h
@@ -209,6 +209,14 @@
return cpp_includes_;
}
+ void add_c_include(std::string path) {
+ c_includes_.push_back(path);
+ }
+
+ const std::vector<std::string>& get_c_includes() {
+ return c_includes_;
+ }
+
private:
// File path
@@ -247,6 +255,9 @@
// C++ extra includes
std::vector<std::string> cpp_includes_;
+ // C extra includes
+ std::vector<std::string> c_includes_;
+
};
#endif