summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGerard Goossen <gerard@tty.nl>2009-10-29 11:05:11 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-11-01 15:48:24 +0100
commit7d0994e057b3340e9b0be219a07a5992e313f0f0 (patch)
treef69a6265f5db8e14b602e2478a38de26611eab5c /proto.h
parent6d5ba409c26980e4e27923c54014d9f9cf834221 (diff)
downloadperl-7d0994e057b3340e9b0be219a07a5992e313f0f0.tar.gz
Use of SV* instead of message, msglen, utf8 to contain error message
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto.h b/proto.h
index 87588fef3f..f4769a310e 100644
--- a/proto.h
+++ b/proto.h
@@ -522,7 +522,7 @@ PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...)
#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
STATIC OP* S_vdie(pTHX_ const char* pat, va_list* args);
#endif
-PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen);
+PERL_CALLCONV OP* Perl_die_where(pTHX_ SV* msv);
PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
/* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
__attribute__nonnull__(pTHX_2)
@@ -3742,10 +3742,10 @@ PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig)
#define PERL_ARGS_ASSERT_WHICHSIG \
assert(sig)
-PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen)
+PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
- assert(message)
+ assert(msv)
PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s)
__attribute__nonnull__(pTHX_1);
@@ -5928,8 +5928,8 @@ STATIC const COP* S_closest_cop(pTHX_ const COP *cop, const OP *o)
assert(cop)
STATIC SV* S_mess_alloc(pTHX);
-STATIC const char * S_vdie_croak_common(pTHX_ const char *pat, va_list *args, STRLEN *msglen, I32* utf8);
-STATIC bool S_vdie_common(pTHX_ const char *message, STRLEN msglen, I32 utf8, bool warn);
+STATIC SV * S_vdie_croak_common(pTHX_ const char *pat, va_list *args);
+STATIC bool S_vdie_common(pTHX_ SV *message, bool warn);
STATIC char * S_write_no_mem(pTHX)
__attribute__noreturn__;