Ap |void |save_pushptr |NULLOK void *const ptr|const int type
#if defined(PERL_IN_SCOPE_C)
s |void |save_pushi32ptr|I32 i|NULLOK void *const ptr|const int type
-s |void |save_pushptrptr|NULLOK void *const ptr1 \
- |NULLOK void *const ptr2|const int type
#endif
+: Used by SAVESWITCHSTACK() in pp.c
+p |void |save_pushptrptr|NULLOK void *const ptr1 \
+ |NULLOK void *const ptr2|const int type
: Used in perly.y
p |OP* |sawparens |NULLOK OP* o
: Used in perly.y
#if defined(PERL_IN_SCOPE_C)
#ifdef PERL_CORE
#define save_pushi32ptr S_save_pushi32ptr
-#define save_pushptrptr S_save_pushptrptr
#endif
#endif
#ifdef PERL_CORE
+#define save_pushptrptr Perl_save_pushptrptr
#define sawparens Perl_sawparens
#define scalar Perl_scalar
#endif
#if defined(PERL_IN_SCOPE_C)
#ifdef PERL_CORE
#define save_pushi32ptr(a,b,c) S_save_pushi32ptr(aTHX_ a,b,c)
-#define save_pushptrptr(a,b,c) S_save_pushptrptr(aTHX_ a,b,c)
#endif
#endif
#ifdef PERL_CORE
+#define save_pushptrptr(a,b,c) Perl_save_pushptrptr(aTHX_ a,b,c)
#define sawparens(a) Perl_sawparens(aTHX_ a)
#define scalar(a) Perl_scalar(aTHX_ a)
#endif
PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
#if defined(PERL_IN_SCOPE_C)
STATIC void S_save_pushi32ptr(pTHX_ I32 i, void *const ptr, const int type);
-STATIC void S_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
#endif
+PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
#if defined(PERL_IN_OP_C)
return sv;
}
-static void
-S_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type)
+void
+Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type)
{
dVAR;
SSCHECK(3);
#define SAVESWITCHSTACK(f,t) \
STMT_START { \
- SSCHECK(3); \
- SSPUSHPTR(MUTABLE_SV(f)); \
- SSPUSHPTR(MUTABLE_SV(t)); \
- SSPUSHINT(SAVEt_SAVESWITCHSTACK); \
+ save_pushptrptr(MUTABLE_SV(f), MUTABLE_SV(t), SAVEt_SAVESWITCHSTACK); \
SWITCHSTACK((f),(t)); \
PL_curstackinfo->si_stack = (t); \
} STMT_END