yaozhenx / mscgen

Automatically exported from code.google.com/p/mscgen
GNU General Public License v2.0
0 stars 0 forks source link

[PATCH] Replace user-defined Boolean type with bool (_Bool respectively), defined in <stdbool.h> #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of mscgen are you using? On what operating system?
0.21 on Debian GNU/Linux, sid (unstable)

What enhancement would you like?
Attached is a series of patches that replaces all Boolean types (defined in 
bool.h) with bool which is defined in stdbool.h as a macro of built-in type 
_Bool (C99) and finally removes bool.h

Original issue reported on code.google.com by sternenf...@gmail.com on 17 Jan 2015 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago
stdbool.h is one of my favourite (newer) language features in C, stdint.h and 
inttypes.h are pretty cool too.

I'll apply these and fix up some of the comments and things too.

Thanks,

Mike

Original comment by Michael....@gmail.com on 24 Jan 2015 at 6:26

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r203.

Original comment by Michael....@gmail.com on 24 Jan 2015 at 6:27