summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-30 23:45:20 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-30 23:45:20 +0000
commit1409bc0658469580630ba458c85fe9cc3cb2d78c (patch)
treeeaf39f998048f62cc727d4d46df22cad5e2e29e6 /embed.h
parent747e2fae43204b65ccf806e75ededd01638e4351 (diff)
downloadperl-1409bc0658469580630ba458c85fe9cc3cb2d78c.tar.gz
Refactor all of the code of the form
SSCHECK(3); SSPUSHINT(i); SSPUSHPTR(ptr); SSPUSHINT(type); into a static function S_save_pushi32ptr(). p4raw-id: //depot/perl@34959
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index f3faa89b80..9320030e3e 100644
--- a/embed.h
+++ b/embed.h
@@ -808,6 +808,7 @@
#define save_pushptr Perl_save_pushptr
#if defined(PERL_IN_SCOPE_C)
#ifdef PERL_CORE
+#define save_pushi32ptr S_save_pushi32ptr
#define save_pushptrptr S_save_pushptrptr
#endif
#endif
@@ -3157,6 +3158,7 @@
#define save_pushptr(a,b) Perl_save_pushptr(aTHX_ a,b)
#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