dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #26394
Re: Fwd: [Branch ~dolfin-core/dolfin/trunk] Rev 7462: Changed unsigned long int to std::size_t in File interface fixing
-
To:
Anders Logg <logg@xxxxxxxxx>
-
From:
Johan Hake <hake.dev@xxxxxxxxx>
-
Date:
Fri, 22 Feb 2013 14:11:16 +0100
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<20130222123136.GR4597@glaurung>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
On 02/22/2013 01:31 PM, Anders Logg wrote:
> On Thu, Feb 21, 2013 at 10:22:45PM +0100, Johan Hake wrote:
>>>
>>> Not sure - it should work reading old MeshFunction files into a size_t
>>> Meshfunction.
>> Ok, if no one come up with a strong argument for keeping it I vote for
>> removing it.
>
> I think the only place where we need unsigned int is the "uint" alias
> for "size_t" in the Python interface.
Agree. Maybe add a deprecation warning?
Johan
References