perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [patch] ht_time interface
Date Tue, 29 Jan 2002 18:08:36 GMT
Doug MacEachern wrote:

> On Wed, 30 Jan 2002, Stas Bekman wrote:
> 
> 
>>- interface to Apache::Time::ht_time
>>- compat wrapper Apache::Util::ht_time ( needs 
>>APR::Pool::from_current_request)
>>- tests for Apache::Time::ht_time and the wrapper Apache::Util
>>
> 
> +1
> btw, i just realized there's no need for a new function, you should just
> be able to use:
> +sub ht_time {
> +    return Apache::Time::ht_time(undef, @_);


That doesn't work:

[Wed Jan 30 02:06:18 2002] [error] [client 127.0.0.1] p is not of type 
APR::Pool at /home/stas/apache.org/mp-util/lib/Apache/compat.pm line 390.

I've tried to change the declaration in the map, but that didn't work. 
The only solution is to manually write a wrapper in Apache__Time.h

-- 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message