AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
123 stars 9 forks source link

Allow assigning values to foreign enums #200

Open ghost opened 1 year ago

ghost commented 1 year ago

Currently, it's impossible. This will make it easier when translating C headers.

For example:

enum test {
    foo = 0x00000001,
    bar = 0x00000000
};
IsaacShelton commented 1 year ago

This would be a nice feature to have, I will try to take a look when I get the time