summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-01-27 00:24:49 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2022-01-27 14:32:24 +0000
commite269455b0d814664d0f8b5c7b34e7f2782a52d31 (patch)
treea441a93b7397e65f71854fa3e40037a39a51ab93 /proto.h
parent0f5b7492ba5f0c2a0b81fef18b71bc3a3c3828c6 (diff)
downloadperl-e269455b0d814664d0f8b5c7b34e7f2782a52d31.tar.gz
Create sv_streq() API family, as a stringy copy of the sv_numeq() ones
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index d1b24898d5..b6e93d2b9a 100644
--- a/proto.h
+++ b/proto.h
@@ -3865,6 +3865,10 @@ PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
#define PERL_ARGS_ASSERT_SV_SETUV_MG \
assert(sv)
+/* PERL_CALLCONV bool sv_streq(pTHX_ SV* sv1, SV* sv2); */
+#define PERL_ARGS_ASSERT_SV_STREQ
+PERL_CALLCONV bool Perl_sv_streq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
+#define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
PERL_CALLCONV SV* Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
#define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
#ifndef NO_MATHOMS