p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

Make enum to be use both with or without enum keyword. #75

Closed weiqiand closed 2 years ago

weiqiand commented 2 years ago

In ths way, the code can be compatible with C and C++ code.