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:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]