This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Perl_croak_xs_usage(), which reduces a lot of explicit calls of
authorNicholas Clark <nick@ccl4.org>
Wed, 21 May 2008 13:35:43 +0000 (13:35 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 21 May 2008 13:35:43 +0000 (13:35 +0000)
commitafa74d4282044c64ab152392003f47bb0674abd2
treedae202bcf5f0624235f7d7446c5eef9e30288694
parent79706302bf1cd487fc44c6b9085b2f2ba0fa11ff
Add Perl_croak_xs_usage(), which reduces a lot of explicit calls of
the form Perl_croak(aTHX_ "Usage %s::%s(%s)", "ouch" "awk", "eee_yow");
down to croak_xs_usage(cv, "eee_yow"); and refactor all the core XS
code to use it. This adds () to the error messages for attributes::*

p4raw-id: //depot/perl@33901
embed.fnc
embed.h
global.sym
mro.c
pod/perlapi.pod
proto.h
universal.c
xsutils.c