add enum handling as blind memory copies.
correct handling of empty structs in _next_ function
fix a remaining typo in the doc
Merge pull request #8 from boucman/master

Handling of enums