autofun: added support for functions with 0 arguments.
autofun: C types are now correct (for pointers)
autofun: moved definitions of types.
Merge branch '1.8' into 1.9.