corrected enum parsing
corrected syntax with last API
#else support
name correction
void is type
fixed compilation - was broken by exception