1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-07-13 11:41:17 +08:00
Hanno Becker 1eeca41472 Improve macro hygiene
This commit improves hygiene and formatting of macro definitions
throughout the library. Specifically:
- It adds brackets around parameters to avoid unintended
  interpretation of arguments, e.g. due to operator precedence.
- It adds uses of the `do { ... } while( 0 )` idiom for macros that
  can be used as commands.
2019-02-19 17:59:00 +00:00
..
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2015-09-04 14:21:07 +02:00
2019-02-05 05:09:05 -05:00
2015-09-04 14:21:07 +02:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2017-10-29 17:53:52 +02:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00