4 * Copyright (c) 1997-2002, 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.
10 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
11 * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h,
12 * perlvars.h and thrdvar.h. Any changes made here will be lost!
19 #if defined (MULTIPLICITY)
21 /* accessor functions for Perl variables (provides binary compatibility) */
29 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \
30 { return &(aTHX->v); }
31 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \
32 { return &(aTHX->v); }
34 #define PERLVARI(v,t,i) PERLVAR(v,t)
35 #define PERLVARIC(v,t,i) PERLVAR(v, const t)
42 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \
44 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \
47 #define PERLVARIC(v,t,i) const t* Perl_##v##_ptr(pTHX) \
48 { return (const t *)&(PL_##v); }
58 #endif /* MULTIPLICITY */