Charj : added basic support for automatic puping of pointer types