Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 25639 invoked from network); 1 May 2007 15:28:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2007 15:28:01 -0000 Received: (qmail 53630 invoked by uid 500); 1 May 2007 15:28:03 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 53565 invoked by uid 500); 1 May 2007 15:28:03 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 53554 invoked by uid 99); 1 May 2007 15:28:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 08:28:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.236.170.102] (HELO nyciport02.turner.com) (64.236.170.102) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 08:27:55 -0700 Received: from atlbh01.turner.com ([10.188.157.231]) by nyciport02.turner.com with ESMTP; 01 May 2007 11:27:34 -0400 X-IronPort-AV: i="4.14,475,1170651600"; d="scan'208"; a="96814336:sNHT25682996" Received: from ATLMSG13.turner.com ([10.188.170.53]) by ATLBH01.turner.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 May 2007 11:27:33 -0400 Received: from 10.188.50.138 ([10.188.50.138]) by ATLMSG13.turner.com ([10.188.170.53]) with Microsoft Exchange Server HTTP-DAV ; Tue, 1 May 2007 15:27:32 +0000 User-Agent: Microsoft-Entourage/11.3.3.061214 Date: Tue, 01 May 2007 11:27:32 -0400 Subject: Re: [PATCH] mod_wombat: add table_get and table_set From: "Akins, Brian" To: "dev@httpd.apache.org" Message-ID: Thread-Topic: [PATCH] mod_wombat: add table_get and table_set Thread-Index: AceMBTxvezxw3vf4EduHiQAX8tAlJw== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 01 May 2007 15:27:33.0702 (UTC) FILETIME=[3D72FE60:01C78C05] X-Virus-Checked: Checked by ClamAV on apache.org On 4/30/07 5:53 PM, "Brian McCallister" wrote: > I would like to maintain a function which is analogous to > lua_pushstring() and lua_pushinteger() for pushing the request_rec > into a function call or whatnot from the C side. > > Will this work with the hook? (I am a hook newb). Sure. The way I have it now, it calls the push function first in the hook. We could move that outside the hook and still have the hook available. > Even though these are static, we might want to be careful in naming > as these are reaching into lua's namespace (lua_* and luaL_*). Sure, we can rename these to apr_lua_table_methods and prefix the methods with "apr_". > Why pass the pool in (other than matching the hook form, but this > isn't invoked via ) I added thepool because I'm sure at some point I will need it and didn't want to rewrite anything that already called it. I know not a good reason... -- Brian Akins Chief Operations Engineer Turner Digital Media Technologies