Generate pointer types correctly (#315)

* Add visit_PtrDecl to generate ptr types correctly

Also removed code duplication from visit_ArrayDecl and visit_TypeDecl by calling _generate_type instead, without emitting the declname.

Added tests for ptr type generation

* Truncate lines longer than 80 characters

per https://github.com/eliben/pycparser/pull/315/files#r269553083
2 files changed