Added source generation for unmanaged and managed pointer types