These changes fix the C (Glib) compiler so it uses the correct namespace when 
generating the name of a type or an included header file:

- The namespace of the target type or include is used, instead of the namespace 
of the IDL file being processed; and

- An unreliable method of generating a fully-qualified class name, which fails 
when a type name begins with a lowercase letter, is replaced by code that 
constructs the class name explicitly using its namespace prefix.

Also fixed is a minor issue whereby `t_c_glib_generator::init_generator()` 
would output multiple, extraneous comments in a generated file.

This resolves [THRIFT-4648](https://issues.apache.org/jira/browse/THRIFT-4648).

[ Full content available at: https://github.com/apache/thrift/pull/1609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to