Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 78026 invoked by uid 500); 29 Jan 2002 18:08:36 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 78007 invoked from network); 29 Jan 2002 18:08:35 -0000 Message-ID: <3C56E524.9030600@stason.org> Date: Wed, 30 Jan 2002 02:08:36 +0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 Cc: dev@perl.apache.org Subject: Re: [patch] ht_time interface References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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