apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject Re: more notes on the apr_time_t issue
Date Sat, 13 Jul 2002 06:22:28 GMT
On Fri, 2002-07-12 at 23:12, Justin Erenkrantz wrote:

> > -1 for renaming any APR time functions: just rename the data type.
> 
> If you go to a contract for the time, I think you need to have
> specific APR functions that go with that.  My earlier example was
> that I might want apr_dsec_t as well.  Therefore, to eliminate
> confusion, we have to have that type's functions strongly related
> to the type as there would be no generic time structure.  It
> would be possible to have type confusion.  Because, a user might
> inadvertently do the following.
> 
> apr_dsec_t mytime = apr_time_now();

What's an apr_dsec_t?

--Brian



Mime
View raw message