diff options
author | Vincent Pit <perl@profvince.com> | 2011-06-25 11:53:48 +0200 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2011-06-26 00:07:28 +0200 |
commit | b9d76716561152289be3c4e24746173674d3b33a (patch) | |
tree | 76ee81d93250a85a474529a8e68ab1a0ae040252 /proto.h | |
parent | 43d32dfff0307a53909d889f16182a4c40647c3b (diff) | |
download | perl-b9d76716561152289be3c4e24746173674d3b33a.tar.gz |
Factor stack adjustments on leave in a new static function
This is just a refactoring. There should be no functional changes.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -5706,6 +5706,13 @@ PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, co #endif #if defined(PERL_IN_PP_CTL_C) +STATIC SV ** S_adjust_stack_on_leave(pTHX_ SV **newsp, SV **sp, SV **mark, I32 gimme, U32 flags) + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2) + __attribute__nonnull__(pTHX_3); +#define PERL_ARGS_ASSERT_ADJUST_STACK_ON_LEAVE \ + assert(newsp); assert(sp); assert(mark) + STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); |