Generate Ruby FFI enums from C source