I think I've tried all the combinations of possible ways to declare a
function in the map file, but in vain -- it won't be picked by the
source scan.
What I try to add is something like this:
Index: xs/maps/modperl_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v
retrieving revision 1.29
diff -u -r1.29 modperl_functions.map
--- xs/maps/modperl_functions.map 2001/11/15 18:19:56 1.29
+++ xs/maps/modperl_functions.map 2001/11/27 14:31:37
@@ -90,3 +90,6 @@
PACKAGE=Apache
DEFINE_LOG_MARK | MPXS_Apache_LOG_MARK | ...
DEFINE_warn | MPXS_Apache__Log_log_error | ...
+
+PACKAGE=Apache::Broken
+ Apache__Broken_broken | MPXS_ | ...
--- /dev/null Thu Jan 1 07:30:00 1970
+++ xs/Apache/Broken/Apache__Broken.h Tue Nov 27 22:46:34 2001
@@ -0,0 +1,3 @@
+static XS(MPXS_Apache__Broken_broken)
+{
+}
I've looked at all other XS(MPXS_...) functions but they all appear to
be somewhat special. what do I miss?
I've tried to use the usual mpxs_ style and ...:
+PACKAGE=Apache::Broken
+ mpxs_Apache__Broken_broken | | ...
so I can work with:
(pTHX_ I32 items,SV **MARK, SV **SP) and just code in XS ppcode, but
how do I get hold of 'cv'? I need it for modperl_sv2request_rec to
convert ST(0) into request_rec object.
_____________________________________________________________________
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]