diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-07-01 15:40:40 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-07-01 15:40:40 +0000 |
commit | fd617465265ed0cd97256c819ae8e3e4cde70989 (patch) | |
tree | 5fa796d09f8279cd6ba1d45cb2f7e0335a6c0ce1 /pad.h | |
parent | d951c35852a72e504eea00883fb91f69a81b8ce3 (diff) | |
download | perl-fd617465265ed0cd97256c819ae8e3e4cde70989.tar.gz |
the PAD_SET_CUR macro expanded too much for AIX compilers
p4raw-id: //depot/perl@25042
Diffstat (limited to 'pad.h')
-rw-r--r-- | pad.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -103,7 +103,12 @@ Get the value from slot C<po> in the base (DEPTH=1) pad of a padlist =for apidoc m|void|PAD_SET_CUR |PADLIST padlist|I32 n Set the current pad to be pad C<n> in the padlist, saving -the previous current pad. +the previous current pad. NB currently this macro expands to a string too +long for some compilers, so it's best to replace it with + + SAVECOMPPAD(); + PAD_SET_CUR_NOSAVE(padlist,n); + =for apidoc m|void|PAD_SET_CUR_NOSAVE |PADLIST padlist|I32 n like PAD_SET_CUR, but without the save |