diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-04 04:42:09 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-04 04:42:09 +0000 |
commit | fd89de3aad1f46316826050b187615df670e00d3 (patch) | |
tree | 71974661f28515227ad5f7b5b9150f62c776effb /perl.h | |
parent | 6c644e7885bc20d759d8cbcb4abaa8f14113c03b (diff) | |
download | perl-fd89de3aad1f46316826050b187615df670e00d3.tar.gz |
PERL_OBJECT build tweak
p4raw-id: //depot/perl@6300
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -164,8 +164,8 @@ class CPerlObj; #define aTHXo_ this, #define PERL_OBJECT_THIS aTHXo #define PERL_OBJECT_THIS_ aTHXo_ -#define dTHXoa(a) pTHXo = a -#define dTHXo dTHXoa(PERL_GET_THX) +#define dTHXoa(a) pTHXo = (CPerlObj*)a +#define dTHXo pTHXo = PERL_GET_THX #define pTHXx void #define pTHXx_ @@ -180,15 +180,16 @@ struct perl_thread; # define pTHX register struct perl_thread *thr # define aTHX thr # define dTHR dNOOP +# define dTHXa(a) pTHX = (struct perl_thread*)a # else # ifndef MULTIPLICITY # define MULTIPLICITY # endif # define pTHX register PerlInterpreter *my_perl # define aTHX my_perl +# define dTHXa(a) pTHX = (PerlInterpreter*)a # endif -# define dTHXa(a) pTHX = a -# define dTHX dTHXa(PERL_GET_THX) +# define dTHX pTHX = PERL_GET_THX # define pTHX_ pTHX, # define aTHX_ aTHX, # define pTHX_1 2 |