1
0
mirror of https://git.zx2c4.com/wireguard-nt synced 2025-07-18 04:05:10 +00:00
Files
wireguard-nt/api/wireguard.h
Simon Rozman 9dfa703c39 api: header: add C++ enum manipulation operators
C++ doesn't have bitwise operators on enums by default. Rather than
reinventing the wheel, we use an undocumented DEFINE_ENUM_FLAG_OPERATORS
macro from Windows SDK to implement the enum operators.

Signed-off-by: Simon Rozman <simon@rozman.si>
2022-03-30 09:56:59 +02:00

12 KiB