From owner-sc22wg5@open-std.org  Thu Dec  4 00:10:35 2008
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom7
Delivered-To: sc22wg5-dom7@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 4153FCA5FE4; Thu,  4 Dec 2008 00:10:35 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from smtp.llnl.gov (nspiron-3.llnl.gov [128.115.41.83])
	by www2.open-std.org (Postfix) with ESMTP id 3A79FC56CF8
	for <sc22wg5@open-std.org>; Thu,  4 Dec 2008 00:10:33 +0100 (CET)
X-Attachments: None
Received: from cyrus2.llnl.gov ([128.15.97.105])
  by smtp.llnl.gov with ESMTP; 03 Dec 2008 15:10:32 -0800
From: Aleksandar Donev <donev1@llnl.gov>
Organization: LLNL
Subject: Re: (j3.2006) (SC22WG5.3722) [ukfortran] the interoperability TR - =?iso-8859-1?q?an=09alternative_descriptor?= design
Date: Wed, 3 Dec 2008 15:10:30 -0800
User-Agent: KMail/1.9.4
Cc: WG5 <sc22wg5@open-std.org>
References: <20081127193527.EF00DC178D9@www2.open-std.org> <20081203214646.AA01DC56CF8@www2.open-std.org> <20081203225033.E1D86C4596D@www2.open-std.org>
In-Reply-To: <20081203225033.E1D86C4596D@www2.open-std.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
To: Undisclosed.Recipients: ;
Message-Id: <200812031510.30725.donev1@llnl.gov>
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Wednesday 03 December 2008 14:50, N.M. Maclaren wrote:

> N1761 addresses solely the cases where the
> arguments are arrays of intrinsic element types, or pointers to intrinsic
> types. =A0It may be intended to address more, but I do not think that it
> does.
It is intended to cover all interoperable types. In particular, this works:

subroutine sub(x) bind(c)
   type(interoperable_t), dimension(:) :: x
end subroutine

and it passes a descriptor where the elem_size field is set to the sizeof t=
he=20
corresponding interoperable C struct.

Perhaps you can explain why N1761 does not cover this case---again, I canno=
t=20
read your mind here.

Thanks,
Aleks

