support importing enums from C code.
Enums are a subset of all constants that are only integers, so they are easier to import.
General constants are still not handled.