summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-01-16 15:21:38 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-21 10:02:54 -0700
commitbf28aba1ae9198db8affb7d48b0e126c12f8fe8b (patch)
treecd4382f9564f870b41ef5c594e4e5bd055e10639
parentdc4bfc4bc1a2fde867e51d484c29733e80a99e7b (diff)
downloadperl-bf28aba1ae9198db8affb7d48b0e126c12f8fe8b.tar.gz
regexp.h: Update comment
-rw-r--r--regexp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/regexp.h b/regexp.h
index 26d2cd96e8..b24a6391bc 100644
--- a/regexp.h
+++ b/regexp.h
@@ -298,9 +298,10 @@ and check for NULL.
* unshared area without affecting binary compatibility */
#define RXf_BASE_SHIFT (_RXf_PMf_SHIFT_NEXT+1)
-/* embed.pl doesn't yet know how to handle static inline functions, so
- manually decorate them here with gcc-style attributes.
-*/
+/* Manually decorate this function with gcc-style attributes just to
+ * avoid having to restructure the header files and their called order,
+ * as proto.h would have to be included before this file, and isn't */
+
PERL_STATIC_INLINE const char *
get_regex_charset_name(const U32 flags, STRLEN* const lenp)
__attribute__warn_unused_result__;