summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-07-15 22:01:52 -0600
committerKarl Williamson <public@khwilliamson.com>2012-07-19 09:39:06 -0600
commitafb790dd4ff01f57e25399cc548ef7f9609a1ad2 (patch)
treeb1f089df75cf221a9e9b045d879755b8046b7842 /embed.fnc
parent8b27d3db700fc2fce268e3d78e221a16ccaca2e8 (diff)
downloadperl-afb790dd4ff01f57e25399cc548ef7f9609a1ad2.tar.gz
utf8.c: Create API so internals can be hidden
This creates a function to hide some of the internal details of swashes from the regex engine, which is the only authorized user, enforced through #ifdefs in embed.fnc. These work closely together, but it's best to have a clean interface.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 0f19f7c58e..f2e13901e8 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1420,6 +1420,7 @@ EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name|NN SV* listsv|
|I32 none|bool return_if_undef|NULLOK SV* invlist \
|bool passed_in_invlist_has_user_defined_property
EXMpR |SV* |_invlist_contents|NN SV* const invlist
+EXMpR |bool |_is_swash_user_defined|NN SV *swash
#endif
Ap |void |taint_env
Ap |void |taint_proper |NULLOK const char* f|NN const char *const s