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

Re: perlapi.h & all those accessor functions

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
March 7, 2000 13:44
Subject:
Re: perlapi.h & all those accessor functions
Message ID:
200003072146.NAA01068@maul.activestate.com
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* 
>anywhere.

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.


Sarathy
gsar@ActiveState.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About