This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use the same $func to Perl_$func macros independent of multiplicity.
authorNicholas Clark <nick@ccl4.org>
Wed, 22 Sep 2010 15:31:16 +0000 (16:31 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 25 Sep 2010 06:54:10 +0000 (07:54 +0100)
commite64ca59f2852bc5d0450eea5ed412609a046829d
tree269a2fa1fd8040e7c64cec21b1a95079acad862a
parent2227225b9a5b9c5988ec68e11274f160d8363b0f
Use the same $func to Perl_$func macros independent of multiplicity.

The macros of the form #define foo(a, b) Perl_foo(aTHX_ a, b) will also work
under non-multiplicity. There's no issue with adding explicit arguments in
the non-multiplicity case, because it changes one form of compile-time error
into another. (Function Perl_foo passed the wrong number of arguments into
macro foo passed the wrong number of arguments.)
embed.h
embed.pl