4 * Copyright (c) 1997-2003, Larry Wall
6 * You may distribute under the terms of either the GNU General Public
7 * License or the Artistic License, as specified in the README file.
9 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
10 * This file is built by embed.pl from data in embed.fnc, embed.pl,
11 * pp.sym, intrpvar.h, perlvars.h and thrdvar.h.
12 * Any changes made here will be lost!
14 * Edit those files and run 'make regen_headers' to effect changes.
21 #if defined (MULTIPLICITY)
23 /* accessor functions for Perl variables (provides binary compatibility) */
31 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \
32 { return &(aTHX->v); }
33 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \
34 { return &(aTHX->v); }
36 #define PERLVARI(v,t,i) PERLVAR(v,t)
37 #define PERLVARIC(v,t,i) PERLVAR(v, const t)
44 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \
46 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \
49 #define PERLVARIC(v,t,i) const t* Perl_##v##_ptr(pTHX) \
50 { return (const t *)&(PL_##v); }
60 #endif /* MULTIPLICITY */