Commit 607bbcc
Enrico Steffinlongo
Improved interface for c_enum_typet
Interface for c_enum_typet has limited support for management of enum
members.
This commit adds:
- a function for exposing the member vector as a non-const reference,
- a constructor that takes the underlying type and a list of members and
sets the constructed type accordingly.1 parent 5d80835 commit 607bbcc
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
277 | 288 | | |
278 | 289 | | |
279 | 290 | | |
| |||
0 commit comments