def _generate_struct_union(self, n, name):
        s = name + ' ' + (n.name or '')
        if n.decls:
            s += '\n'
            s += self._make_indent()
            self.indent_level += 2
            s += '{\n'
            for decl in n.decls:
                s += self._generate_stmt(decl)
            self.indent_level -= 2
            s += self._make_indent() + '}'
        return s
Generates code for structs and unions. name should be either
dataset/ETHPy150Open eliben/pycparser/pycparser/c_generator.py/CGenerator._generate_struct_union