Enumeration Correction in C-Interface

Following issue #144.