summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-11-11 10:55:27 +0000
committerNicholas Clark <nick@ccl4.org>2010-11-11 10:55:27 +0000
commite8c9c9d4ce82614b4d0361228e3acb9ed1d4ddf0 (patch)
tree8cde39d8f8918770b0dff75b1dbfadbd0f7ed70c /embed.h
parent31c72c81d58f35758d79ae5790bfaf21252bb22e (diff)
downloadperl-e8c9c9d4ce82614b4d0361228e3acb9ed1d4ddf0.tar.gz
Inline sv_cmp() and sv_cmp_locale() as macros wrapping their flags variants.
We can't move Perl_sv_cmp() and Perl_sv_cmp_locale() to mathoms.c, as they are referenced by function pointer in pp_sort.c - pointers which require the specific current calling signature.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index 72cdfc0071..b743761f7a 100644
--- a/embed.h
+++ b/embed.h
@@ -521,9 +521,7 @@
#define sv_catsv_flags(a,b,c) Perl_sv_catsv_flags(aTHX_ a,b,c)
#define sv_chop(a,b) Perl_sv_chop(aTHX_ a,b)
#define sv_clear(a) Perl_sv_clear(aTHX_ a)
-#define sv_cmp(a,b) Perl_sv_cmp(aTHX_ a,b)
#define sv_cmp_flags(a,b,c) Perl_sv_cmp_flags(aTHX_ a,b,c)
-#define sv_cmp_locale(a,b) Perl_sv_cmp_locale(aTHX_ a,b)
#define sv_cmp_locale_flags(a,b,c) Perl_sv_cmp_locale_flags(aTHX_ a,b,c)
#define sv_compile_2op(a,b,c,d) Perl_sv_compile_2op(aTHX_ a,b,c,d)
#define sv_copypv(a,b) Perl_sv_copypv(aTHX_ a,b)