Formatting self-defined type C pointers with indent and typedef usually.
eddie <[email protected]> Thu, 14 Jan 2016 03:30:15 +0100
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi indent developers team, packagers, community... Why *indent* put a /space/ between self-defined (like /SDL_Renderer/ ***) *pointers* and not between normal /*types*/ pointers like char ***, int ***. And second *indent* make the same misstake (/or error at your convienence/) with some /*types*/ defined in <stdint.h>, like uint8_t, int8_t. I enjoy to abuse of simple <stdint.h> *defined* */types/* because: an unsigned integer on an octet is explicit defined as: uint8_t var ; // An unsigned integer is an number without sign. instead of unsigned char var ; // a character is a character. And: unsigned short var ; // is not short to write. Instead of uint16_t var ; // is clearer to understand that's an unsigned integer on 2 bytes (if an octet is 8). *???* Else I would not hesitated before formatting my code, with *indent*, in /fear/ of `/coding-standart errors`/. -- 3D imaging web-site: www.3dreaming-imaging.net <http://www.3dreaming-imaging.net/> International web-site: www.open-source-projects.net -- 3D imaging web-site: www.3dreaming-imaging.net <http://www.3dreaming-imaging.net/> International web-site: www.open-source-projects.net <http://www.open-source-projects.net/>