develooper Front page | perl.perl5.porters | Postings from March 2000

Re: perlapi.h & all those accessor functions

Thread Previous | Thread Next
Gurusamy Sarathy
March 7, 2000 13:44
Re: perlapi.h & all those accessor functions
Message ID:
On Tue, 07 Mar 2000 16:37:36 EST, Dan Sugalski wrote:
>I'm trying to get 5.5.670 to build with MULTIPLICITY on VMS (and no, it's 
>not worth holding the release up for) and I'm running into a problem. 
>perlapi.h is loaded with a stuff like this:
>#undef  PL_patleave
>#define PL_patleave		(*Perl_Gpatleave_ptr(NULL))
>but Perl_Gpatleave_ptr (and all the rest) don't seem to actually *exist* 

perlapi.c defines them with something like:

    #define PERLVAR(v,t)    t* Perl_##v##_ptr(pTHX) { return &(aTHX->v); }
    #include "intrpvar.h"

I suspect you're not linking perlapi.o into libperl.a.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About