You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2002/12/08 01:58:20 UTC
mp2 FunctionTable.pm addition
The recent addition of $r->as_string requiring
modperl_sv_str_header requires, at least for Win32,
adding this function to ModPerl::FunctionTable so
that it gets included in the mod_perl lib. The
following diff does that:
======================================================
Index: xs/tables/current/ModPerl/FunctionTable.pm
===================================================================
RCS file: /home/cvspublic/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v
retrieving revision 1.87
diff -u -r1.87 FunctionTable.pm
--- xs/tables/current/ModPerl/FunctionTable.pm 6 Dec 2002 16:19:36 -0000 1.87
+++ xs/tables/current/ModPerl/FunctionTable.pm 8 Dec 2002 00:51:12 -0000
@@ -3817,6 +3817,24 @@
]
},
{
+ 'return_type' => 'int',
+ 'name' => 'modperl_sv_str_header',
+ 'args' => [
+ {
+ 'type' => 'void *',
+ 'name' => 'arg'
+ },
+ {
+ 'type' => 'const char *',
+ 'name' => 'k'
+ },
+ {
+ 'type' => 'const char *',
+ 'name' => 'v'
+ },
+ ]
+ },
+ {
'return_type' => 'apr_pool_t *',
'name' => 'modperl_sv2pool',
'args' => [
==================================================================
--
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp2 FunctionTable.pm addition
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Randy Kobes wrote:
> The recent addition of $r->as_string requiring
> modperl_sv_str_header requires, at least for Win32,
> adding this function to ModPerl::FunctionTable so
> that it gets included in the mod_perl lib. The
> following diff does that:
thanks randy.
we should probably create a document with the various steps required
to add something to the API, especially for stuff like Win32 compat
that doesn't show up when we unix users run tests :)
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp2 FunctionTable.pm addition
Posted by Stas Bekman <st...@stason.org>.
Randy Kobes wrote:
> The recent addition of $r->as_string requiring
> modperl_sv_str_header requires, at least for Win32,
> adding this function to ModPerl::FunctionTable so
> that it gets included in the mod_perl lib. The
> following diff does that:
Thanks, Randy. Committed!
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org