Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: add helpers to overload SAFE macro.
Having both LONG and SHORT versions of the SAFE macros with different names is not very convenient. Add helpers that facilitate overloading such macros using a single name. In order to work around a known issue in MSVC [1], an indirection layer has to be introduced. [1] https://developercommunity.visualstudio.com/t/-va-args-seems-to-be-trated-as-a-single-parameter/460154 Acked-by: Dumitru Ceara <[email protected]> Acked-by: Eelco Chaudron <[email protected]> Signed-off-by: Adrian Moreno <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information