enumeration: port to rust
I see that charset does not define ipuz_charset_get_type. However, crosswords uses ipuz_enumeration_get_type so it needs to be defined here.
ipuz_enumeration_dup
and ipuz_enumeration_unref
receive NULL from C, so ipuz_return_if_fail
cannot be used there.
delims
is now a Vec<DelimSegment>
, changed from GList
. I believe an array will be faster