THRIFT-3178 glib C does not compile
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
This closes #581
diff --git a/lib/c_glib/test/ContainerTest.thrift b/lib/c_glib/test/ContainerTest.thrift
index c19bae4..a92a9a5 100644
--- a/lib/c_glib/test/ContainerTest.thrift
+++ b/lib/c_glib/test/ContainerTest.thrift
@@ -19,6 +19,9 @@
namespace c_glib TTest
+typedef list<string> StringList
+typedef list<StringList> ListStringList
+
struct ContainersWithDefaultValues {
1: list<string> StringList = [ "Apache", "Thrift" ];
}
@@ -26,4 +29,7 @@
service ContainerService {
void receiveStringList(1: list<string> stringList);
list<string> returnStringList();
+
+ list<list<string>> returnListStringList();
+ ListStringList returnTypedefdListStringList();
}