diff options
author | Karl Williamson <khw@cpan.org> | 2014-12-26 18:20:14 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-12-29 13:52:57 -0700 |
commit | 357aaddece5471320c7b8b94099d29e9ee5c74fb (patch) | |
tree | 3105d2780feda519a1b969a57c312bf95fc7a9be /proto.h | |
parent | e7b7ac466eda00925c5668867d967e36cdfcb731 (diff) | |
download | perl-357aaddece5471320c7b8b94099d29e9ee5c74fb.tar.gz |
utf8.c: Use OP_DESC instead of passing string.
OP_DESC is simpler and more general.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -7914,14 +7914,13 @@ STATIC bool S_isa_lookup(pTHX_ HV *stash, const char * const name, STRLEN len, U #endif #if defined(PERL_IN_UTF8_C) -STATIC UV S_check_locale_boundary_crossing(pTHX_ const char * const func_name, const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp) +STATIC UV S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1) - __attribute__nonnull__(pTHX_2) - __attribute__nonnull__(pTHX_4) - __attribute__nonnull__(pTHX_5); + __attribute__nonnull__(pTHX_3) + __attribute__nonnull__(pTHX_4); #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \ - assert(func_name); assert(p); assert(ustrp); assert(lenp) + assert(p); assert(ustrp); assert(lenp) PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname, SV* const invlist) __attribute__warn_unused_result__ |