autofun: added support for functions with 0 arguments.
autofun: C types are now correct (for pointers)
autofun: moved definitions of types.