diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-09 21:32:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-09 21:32:50 +0000 |
commit | 75c20bacb9ae327aacf009e8bfd9ed768a1e07b1 (patch) | |
tree | 95ef0d13a76f6ee3482b8c22c68f6f2e5781812d /proto.h | |
parent | b640a14ad99660810209db046b8d70831781c646 (diff) | |
download | perl-75c20bacb9ae327aacf009e8bfd9ed768a1e07b1.tar.gz |
If PERL_DISABLE_PMC is defined, doopen_pm() is just a direct call to
check_type_and_open(). So for this case make it a macro, to save a
level of function call.
p4raw-id: //depot/perl@32088
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3542,10 +3542,12 @@ STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); +#ifndef PERL_DISABLE_PMC STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const STRLEN namelen) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); +#endif STATIC bool S_path_is_absolute(const char *name) __attribute__warn_unused_result__ __attribute__nonnull__(1); |